LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ldap_bind: Invalid credentials (49) (https://www.linuxquestions.org/questions/linux-server-73/ldap_bind-invalid-credentials-49-a-699531/)

soni_silver17 01-24-2009 12:56 AM

ldap_bind: Invalid credentials (49)
 
Respected staff ,

While i am trying to execute the command
#ldapadd -x -h -D "cn=,dc=,dc" -w passwd -f group.LDIF
#ldapadd -x -h -D "cn=,dc=,dc" -w passwd -f passwd.LDIF ,
i am getting error as
error : ldap_bind : Invalid credentials (49)

please help me , how to solve this problem

bathory 01-24-2009 01:47 PM

This is because the dn you use is not correct. It should be something like:
Code:

"cn=admin, dc=domain, dc=com
Check slapd.conf for the correct admin dn.

Regards


All times are GMT -5. The time now is 12:08 PM.