Error 1:
[Email protected] openldap]# ldapsearch-lll-w-x-h ldap://etiantian.org-d "cn=admin,dc=etiantian,dc=org"-B "dc= Etiantian,dc=org "" (uid=*) "
Enter LDAP Password:
Ldap_bind:invalid credentials (49)
Error Description:
When searching, prompt ldap_bind:invalid credentials ()
The official said it was a wrong password.
It's actually a version issue.
ldap2.3 and 2.4 configuration conflict issues
Workaround:
rm-rf/etc/openldap/slapd.d/*
Slaptest-f/etc/openldap/slapd.conf-f/etc/openldap/slapd.d/
ll/etc/openldap/slapd.d/
Chown-r LDAP.LDAP/ETC/OPENLDAP/SLAPD.D
/ETC/INIT.D/SLAPD restart
OK, fix it.
Error 2:
[Email protected] openldap]# slaptest-f/etc/openldap/slapd.conf-f/etc/openldap/slapd.d/
58116898/etc/openldap/slapd.conf:line 139: <rootpw> can only being set when RootDN is under suffix
Slaptest:bad Configuration directory!
Error Description:
Configuration file error, is the following location configuration error, note the symbol
106 Database BdB
107 suffix "Dc=etiantian. Dc=org "
108 Checkpoint 1024 15
109 RootDN "Cn=admin,dc=etiantian,dc=org"
Workaround:
106 Database BdB
107 suffix "Dc=etiantian,dc=org"
108 Checkpoint 1024 15
109 RootDN "Cn=admin,dc=etiantian,dc=org"
Error 3:
[Email protected] openldap]#/ETC/INIT.D/SLAPD restart
stopping SLAPD: [OK]
Checking configuration files for slapd: [FAILED]
58116b90 Ldif_read_file:permission denied for "/etc/openldap/slapd.d/cn=config.ldif"
Slaptest:bad Configuration file!
Error Description:
Permission denied when restarting , stating that permissions are insufficient
Workaround:
Chown-r LDAP.LDAP/ETC/OPENLDAP/SLAPD.D
/ETC/INIT.D/SLAPD restart
This article is from the "11002498" blog, please be sure to keep this source http://11012498.blog.51cto.com/11002498/1866198
Errors encountered during LDAP installation configuration, and workarounds