[dev] horde ldab setup

Edwin Culp eculp at encontacto.net
Thu Sep 9 17:16:28 PDT 2004


Quoting Steve Daniels <horde at stedaniels.co.uk>:

> Well I've gone from:
> Couldn't bind to ldap server
> to:
> Couldn' search ldap server.
> and I've had "empty result"
>
> All these are returned when I try to login.
>
> I'm so close. It think I need to get back to the "empty result" cause at
> least that means I'm connecting and searching... was just searching for
> the wrong thing me thinks.
>
> Current config when I get "Could not search LDAP server."
>
> $conf['auth']['admins'] = array('Administrator');
> $conf['auth']['checkip'] = true;
> $conf['auth']['params']['hostspec'] = 'localhost';
> $conf['auth']['params']['basedn'] =
> 'ou=People,dc=itsalittlebitfishy,dc=co,=dc=uk';
?¿?¿
$conf['auth']['params']['binddn'] =
?¿?¿

ed
> $conf['auth']['params']['password'] = 'lyyolyyo';
> $conf['auth']['params']['version'] = '2';
> $conf['auth']['params']['uid'] = 'uid';
> $conf['auth']['params']['objectclass'] = array('account');
> $conf['auth']['params']['filter_type'] = 'objectclass';
> $conf['auth']['driver'] = 'ldap';
>
> running this command will get a list of entires with an object class of
> 'account'
>
> ldapsearch -x -b 'ou=People,dc=itsalittlebitfishy,dc=co,dc=uk'
> '(objectclass=account)'
>
> Any help, sample configs as above would be greatly appreciated.
>
> Thanks
>
> Steve
>
> PS My ldap server was set up using these instructions:
> http://www.linuxhomenetworking.com/linux-adv/ldap.htm
> that should help you understand my ldap setup.
> I haven't yet configured secure ldap.
>
>>
>> Sounds like you are almost there.  I hope this helps.
>>
>> ed
>>
>> P.S. You will probably want to use 'hordeauth' => 'full', in
>> horde/imp/config/servers.php for your imp auth. to not have to
>> relogin.
>
>
> Thanks for this
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>





More information about the dev mailing list