[horde] Imp authorization and user maintenance

Tony Earnshaw tonni at billy.demon.nl
Sun Dec 15 13:31:44 PST 2002


søn, 2002-12-15 kl. 21:02 skrev Chuck Hagenbuch:

> > Actually, my IMAP server authenticates against an LDAP directory server
> > using ldaps. Perhaps that's the way to go.
> So you have had Horde auth configured to use LDAP?

No, but it's worth trying. I had to learn MySQL in the meantime and
combine both of them at the moment - both work. SQL is o.k., but I'm an
LDAP man.

> Okay, now we're getting 
> somewhere. You can do this:
> 
> $conf['auth']['driver'] = 'composite';
> $conf['auth']['params'] = array(
>     'drivers' => array('imp' => array('driver' => 'application',
>                                       'params' => array('app' => 'imp')),
>                        'ldap' => array('driver' => 'ldap',
>                                        'params => array( .... )),
>     'loginscreen_switch' => '_horde_select_loginscreen',
>     'admin_driver' => 'ldap');
> 
> if (!function_exists('_horde_select_loginscreen')) {
>     function _horde_select_loginscreen()
>     {
>         return 'imp';
>     }
> }

Brilliant. I'll try it tomorrow, thanks !

> > Why do you post with headers that include emails with headers?
> Huh?

Indeed.

Best,

Tony

-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni at billy.demon.nl
www:		http://www.billy.demon.nl





More information about the horde mailing list