LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Authenticate to LDAP externally (https://www.linuxquestions.org/questions/linux-newbie-8/authenticate-to-ldap-externally-4175454138/)

newphoenixlinux 03-14-2013 11:43 PM

Authenticate to LDAP externally
 
Hello,
I am going through the following guide:

https://help.ubuntu.com/12.10/server...ap-server.html

I have installed OpenLDAP and during the install it had me setup a password. I am at the section in the guide titled Modifying/Populating your Database, the step on is:

Add the content:

ldapadd -x -D cn=admin,dc=example,dc=com -W -f add_content.ldif

Enter LDAP Password: ********
adding new entry "ou=People,dc=example,dc=com"

adding new entry "ou=Groups,dc=example,dc=com"

adding new entry "cn=miners,ou=Groups,dc=example,dc=com"

adding new entry "uid=john,ou=People,dc=example,dc=com"

I enter my LDAP password but it says, "Invalid Credentials (49)

I know the password I originally setup is right, I have rebuilt the server and am back at this part with the same error.

Am I missing something? Should I run some other command to set a password? I read earlier in the guide this:

During the install you were prompted to define administrative credentials. These are LDAP-based credentials for the rootDN of your database instance. By default, this user's DN is cn=admin,dc=example,dc=com. Also by default, there is no administrative account created for the slapd-config database and you will therefore need to authenticate externally to LDAP in order to access it. We will see how to do this later on.

Yet I haven't found how to authenticate externally if I'm even in the right area.

Any help would be appreciated.

hamlindsza 03-21-2013 11:02 AM

I enter my LDAP password but it says, "Invalid Credentials (49)

Are you getting this error after the ldapadd command ??


All times are GMT -5. The time now is 02:45 PM.