[horde] Two problems

Jan Schneider jan at horde.org
Mon May 19 14:28:36 PDT 2003


Zitat von Rick Romero <rick at havokmon.com>:

> First, I moved my working Horde install from a FreeBSD 4.3 PC to a
> FreeBSD 4.8 PC, and if I set the sessionhandler to 'sql', I get Sig11's
> in my /var/log/messages, and a blank page.
>
> Currently, I have it set to 'none', and it seems to be working ok.

Michael just fixed some issues with the sql session handlers. You should
update your checkout again.

> Second, I have some custom code in horde/menu.php to display a link to
> QmailAdmin, and auto-login the user.  I use:
>
> 	list($v_username, $v_domain) = split ('[@%]', $imp['user']);
>         $v_passwd = Secret::read(Secret::getKey('imp'), $imp['pass']);
>
> to get the username and password in a format that Qmailadmin can take.
> Unfortunately, now I get:
> Notice: Undefined variable: imp in
> /usr/local/www/data.default/horde/menu.php on line 131
>
> Of course, Line 131 is my custom code.  What should I use instead of
> $imp['???'] to get the username/password ?

Auth::getAuth() and Auth::getCredential('password') is what you are looking
for.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft



More information about the horde mailing list