[horde] LDAP

eculp eculp at encontacto.net
Tue Oct 14 22:20:32 UTC 2008


Quoting Jorge Hernandez <jorgeh at fsbcomputers.com>:

>
>
>   Can anybody send me a sample about how to configure horde so I can  
> get horde to authenticate via LDAP I have this but with no values:
>
>   Or at least one with real values (exept for DN and password)
>
>    $conf['auth']['params']['hostspec'] = '';
>  $conf['auth']['params']['basedn'] = '';
>  $conf['auth']['params']['binddn'] = ;
>  $conf['auth']['params']['password'] = '';
>  $conf['auth']['params']['version'] = '';
>  $conf['auth']['params']['ad'] = '';
>  $conf['auth']['params']['uid'] = '';
>  $conf['auth']['params']['encryption'] = '';
>  $conf['auth']['params']['objectclass'] = array('');
>  $conf['auth']['params']['newuser_objectclass'] = array('', '');
>  $conf['auth']['params']['filter_type'] = '';
>  $conf['auth']['params']['password_expiration'] = '';
>
I'm not sure this is the solution but at least it can be a point of  
comparison.

$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['basedn'] =  
'ou=people,ou=domain.com,o=baseDomain.org';
$conf['auth']['params']['binddn'] = 'cn=TheMan,o=worldinternet.org';
$conf['auth']['params']['password'] = 'xxxxxxxxxxx';
$conf['auth']['params']['version'] = '3';
$conf['auth']['params']['ad'] = false;
$conf['auth']['params']['uid'] = 'mail';
$conf['auth']['params']['encryption'] = 'crypt';
$conf['auth']['params']['objectclass'] = array('CourierMailAccount');
$conf['auth']['params']['newuser_objectclass'] =  
array('inetOrgPerson', 'evolutionPerson', 'CourierMailAccount',  
'hordePerson', 'turbaContact', 'calEntry');
$conf['auth']['params']['filter_type'] = 'objectclass';
$conf['auth']['params']['password_expiration'] = 'no';
$conf['auth']['driver'] = 'ldap';

I'm sure you or anyone else can improve on this and I should probably  
take the time to do it.  This hasn't changed for over 5 years.

ed

>   Thanks in advance,
>
>   ==========================
> Jorge Hernandez
> CEO/OWNER
> FSB Computers
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



More information about the horde mailing list