[gollem] Gollem: patch for "unified" logon

Joel Vandal jvandal@subi.to
Fri, 31 May 2002 00:54:50 -0400


Hi,

You can get a "beta" patch for unified logon with Gollem at

http://webmail.infoteck.qc.ca/patches/gollem.diff

If the user is already logged on Horde/IMP, then the login screen will not
show and the connection will be automatically established using the
"default" ftp server.

I use two (2) API function (Auth ::getAuth and Auth::getCredential). To use
this patch, you will only have to set $conf['auth']['horde'] to true. If it
set to false, then Gollem will use the login screen.

if ($conf['auth']['horde']) {
    $gollem['user'] = Auth::getAuth();
    $gollem['pass'] = Secret::write(Secret::getKey('gollem'),
Auth::getCredential('password'));
}

--
Joel Vandal
Infoteck Internet