September 23rd, 2004, 11:01 AM
failed to bind to ldap server
I have ldap installed and the ldap search commands work pretty good. But when trying to admin it through webmin i get this error.
Failed to bind to LDAP server as : No password, did you mean noauth or anonymous ?. Maybe your module configuration is incorrect.
Although all ldapsearches work , i can't adminstrate it with webmin
So i don't think it's my slap.conf, but still.
This is my slap.conf without some of the comments
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 220.127.116.11 2003/05/24 23:19:14 kurt Exp $
# Allow LDAPv2 client connections. This is NOT the default.
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
# Replicas of this database
#replica host=ldap-1.example.com:389 tls=yes
# bindmethod=sasl saslmech=GSSAPI
Last edited by xyfix; September 23rd, 2004 at 01:02 PM.
September 29th, 2004, 08:30 AM
Probably you used "Manager" oder "cn=Manager" als the Login-Name. This is not correct. In Webmin you need to use the whole DN like "cn=manager,dc=bahadoer,dc=nl" for the login.
September 29th, 2004, 10:47 AM
Thank you, Arknius.
But where should I change this login name??? in slapd.conf???
Edit : I found 2 errors in my slapd.conf
These Directives are not right. I commented them by putting # before the lines.
But now i have a different error :
Failed to connect to LDAP server port 389
I'm guessing that it has something to do with TLS connections, can somebody confirm this? What does this do and how can I correct this?
Last edited by xyfix; September 29th, 2004 at 12:15 PM.