[dev] horde ldab setup

Steve Daniels horde at stedaniels.co.uk
Thu Sep 9 16:10:52 PDT 2004


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']['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


More information about the dev mailing list