OpenLdap error 49 "Invalid credentials"
jalil119
-
BaKaChoux Posted messages 9 Registration date Status Member -
BaKaChoux Posted messages 9 Registration date Status Member -
Hello,
I am currently doing an internship for a company where I am responsible for creating the staff directory in the form of a PHP page.
I installed OpenLdap using the packages libldap-2.4-2, slapd, and ldap-utils version 2.4.15.
I followed different tutorials but a recurring problem arose: the slapd.conf file did not exist. So I created it and filled it in as indicated...
Then came the moment when I had to add an entry, so I used the syntax "ldapadd -W -D <binddn> -x -H ldap://<server> -f <file.ldif>".
PROBLEM: After entering the password "secret" as indicated in the tutorial, I received the error message "ldap_bind: Invalid credentials (49)".
So I tried to complete my slapd.conf with different models found in tutorials, but nothing works, always the same error 49 that keeps coming back. :/
So if you know a solution to this problem, I eagerly await your help because it has been almost a week that I have been searching Google for a solution, but none fits my case.
Thank you in advance.
I am currently doing an internship for a company where I am responsible for creating the staff directory in the form of a PHP page.
I installed OpenLdap using the packages libldap-2.4-2, slapd, and ldap-utils version 2.4.15.
I followed different tutorials but a recurring problem arose: the slapd.conf file did not exist. So I created it and filled it in as indicated...
Then came the moment when I had to add an entry, so I used the syntax "ldapadd -W -D <binddn> -x -H ldap://<server> -f <file.ldif>".
PROBLEM: After entering the password "secret" as indicated in the tutorial, I received the error message "ldap_bind: Invalid credentials (49)".
So I tried to complete my slapd.conf with different models found in tutorials, but nothing works, always the same error 49 that keeps coming back. :/
So if you know a solution to this problem, I eagerly await your help because it has been almost a week that I have been searching Google for a solution, but none fits my case.
Thank you in advance.
Configuration: Linux Firefox 3.0.8