Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-14-2013, 11:43 PM   #1
LQ Newbie
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
Authenticate to LDAP externally

I am going through the following guide:

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.
Old 03-21-2013, 11:02 AM   #2
Registered: Aug 2012
Distribution: Debian, CentOS
Posts: 74

Rep: Reputation: Disabled
I enter my LDAP password but it says, "Invalid Credentials (49)

Are you getting this error after the ldapadd command ??


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Samba authenticate to AD only using LDAP? dougnc Linux - Networking 8 09-25-2006 11:17 AM
authenticate using LDAP to login + gconfd masand Linux - General 2 08-02-2005 04:15 AM
Authenticate from a LDAP SuperSerg Linux - Security 2 12-20-2004 11:16 AM
Cant authenticate to LDAP domain with Redhat9 shaughto Red Hat 3 07-22-2004 11:29 PM
Cant authenticate to LDAP domain with Redhat9 shaughto Linux - Networking 1 07-01-2004 02:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration