Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Reggie on July 03, 2002, 08:01:07 AM

Title: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already in pl
Post by: Reggie on July 03, 2002, 08:01:07 AM
As the topic states, I have already been running IMP 3.0 and the PHP upgrade per Dan's How-to. Should I anticipate any difficulties when attempting to upgrade to 5.5?
Title: Re: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already i
Post by: Dan Brown on July 03, 2002, 08:15:25 AM
When I checked as of beta9, the IMP and PHP RPMs they used appeared to be just rebuilt copies of mine, so there shouldn't be a problem.  They did, however, considerably improve on my e-smith-horde and e-smith-imp RPMs.
Title: Re: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already i
Post by: Reggie on July 03, 2002, 08:21:17 AM
Thanks Dan! I was hoping you would see this post. ;-)
Title: Re: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already i
Post by: James Smith on July 03, 2002, 05:57:54 PM
Question, I've upgraded my 5.1.2 SME server which had the IMP 3.0 and PHP upgrades already in place to SME 5.5. Upgrade when fine without a problem except for one minor issue. After the upgrade, when ever anyone uses webmail (the url they use is www.myserver.address/webmail) the user show "admin". What do I need to do to correct this so that the user name field is blank like before? Thanks any and all help.

-JKS
Title: Re: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already i
Post by: Rick on July 06, 2002, 12:57:44 AM
I have the same problem over here. Sometimes the admin user appears. When I reboot the server it dissappears. Anyone got a suggestion?
Title: Re: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already i
Post by: jb on July 07, 2002, 01:25:41 AM
Here is the smart-assed answer from Rich at Mitel.

> Two questions/remarks concerning the webmail function of E-Smith 5.5. I have
> cleanly installed the new 5.5 (incl. the latest blade).
>
> 1. When i access the login page of the webmail the username always contains
> 'admin'. Why ? I would think it should be empty.

Sheesh, the source is right there! But enough people have asked this
without looking that I figured I might as well. From
horde/imp/templates/login/login.inc:

 
 

And from horde/lib/Horde.php:

    function getFormData($var, $default = null)
    {
        if (isset($GLOBALS['HTTP_POST_VARS'][$var])) {
            return Horde::dispelMagicQuotes($GLOBALS['HTTP_POST_VARS'][$var]);
        } elseif (isset($GLOBALS['HTTP_GET_VARS'][$var])) {
            return Horde::dispelMagicQuotes($GLOBALS['HTTP_GET_VARS'][$var]);
        } else {
            return $default;
        }
    }

So if $imapuser isn't set (and it won't be), it uses the current value
of $REMOTE_USER, which is "admin" if you happen to be logged into the
server-manager. (If you happened to be logged into your fnord i-bay,
it'd be "fnord".)

   -Rich

--  
------------------------------ Rich Lafferty ---------------------------
 Systems Administrator/Support Engineer, Network Server Solutions Group
    Mitel Networks, Ottawa, ON                 +1 613 592 2122 (x2513)
---------------------------- richl@e-smith.com  ------------------------
Title: Re: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already i
Post by: Dan Brown on July 07, 2002, 01:29:30 AM
Smart-assed maybe, but it also appears to be complete and accurate, which is more than can be said for any of the other answers (mine included).
Title: Re: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already i
Post by: jb on July 10, 2002, 03:10:22 AM
I know it is accurate, but he didn't have be-little everyone else.  I figure if one knew where to look for the answer, then one wouldn't ask the question.  :)
Title: Re: SME 5.1.2 to 5.5 with IMP 3.0 and PHP upgrades already i
Post by: Rich Lafferty on July 10, 2002, 05:33:37 AM
Noted, thanks.

--Rich