ldap_bind: Invalid credentials (49)
I have searched several posting on this message and I am still getting the error when I attempt to do an "ldapsearch"
I have changed the slapd.conf to use a plain-text password and I am still getting the error. I have also made sure that there are no blank spaces in the file. I have attempted to follow the LDAP setup from "http://www.itmanx.com/kb/centos63-openldap-phpldapadmin". The log file shows and iptables is turned off. conn=1001 fd=15 ACCEPT from IP=[::1]:54486 (IP=[::]:389) conn=1001 op=0 BIND dn="cn=Manager,dc=domain,dc=local,dc=pt" method=128 conn=1001 op=0 RESULT tag=97 err=49 text= conn=1001 fd=15 closed (connection lost) my server is running Centos 6.4 64. below are the commands I am using "ldapsearch -x -D cn=Manager,dc=domain,dc=local,dc=pt -w abc" my slapd.conf file database bdb suffix "dc=domain,dc=local" checkpoint 1024 15 rootdn "cn=Manager,dc=domain,dc=local" rootpw abc |
"cn=Manager,dc=domain,dc=local,dc=pt" is clearly NOT "cn=Manager,dc=domain,dc=local"
|
cn=Manager,dc=domain,dc=local,dc=pt
needs to match suffix "dc=domain,dc=local" and rootdn "cn=Manager,dc=domain,dc=local" Also when you do the ldapsearch use quotes so it looks like this: ldapsearch -x -D "cn=Manager,dc=domain,dc=local,dc=pt" -w abc |
Sorry I meant
"ldapsearch -x -D cn=Manager,dc=domain,dc=local -w abc" And I still get the same issue. |
what version of openldap are you using? The slapd.conf file itself was deprecated a while back, and you should now be configuring it within a standard ldif file, although off hand I'm not sure of it's name / location.
|
I am running CentOS 6.4 and installed it via yum. not sure which version got installed. Is there a link or instructions on setting up an ldap on 6.4 without the slapd.conf file.
|
All times are GMT -5. The time now is 12:11 AM. |