That means server does not listen to on port 390, but 389. What happens if you try 'objectclass=*' instead of uid? On Fri, Jul 4, 2014 at 4:11 PM, Benoit PETIT <bpetit@xxxxxxxx> wrote: > Hi, > > Hello. >> Does secret.php have the following too? >> >> $user_auth_src = 'ldap'; >> $require_local_account = FALSE; > > > Yes those lines are present in my secret.php. > > > You connect, yeah, but it should return way more entries. >> Try on port 390 >> > > I tried ldapsearch -h myldapserver.mydomain.com -b 'dc=mydomain,dc=com' > -D "cn=myrouser,dc=mydomain,dc=com" 'objectclass=uid' -p 390 -W -x > > and I get: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) > > Thank you for your time, > > *Benoit Petit* > -- Michal Sochoń alias _KaszpiR_ kaszpir@xxxxxxxxx IRC: _KaszpiR_ @ freenode.net