LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-15-2013, 12:43 AM   #1
newphoenixlinux
LQ Newbie
 
Registered: Feb 2013
Posts: 9

Rep: Reputation: Disabled
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.
 
Old 03-21-2013, 12:02 PM   #2
hamlindsza
Member
 
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 ??
 
  


Reply


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 12:17 PM
authenticate using LDAP to login + gconfd masand Linux - General 2 08-02-2005 05:15 AM
Authenticate from a LDAP SuperSerg Linux - Security 2 12-20-2004 12:16 PM
Cant authenticate to LDAP domain with Redhat9 shaughto Red Hat 3 07-23-2004 12:29 AM
Cant authenticate to LDAP domain with Redhat9 shaughto Linux - Networking 1 07-01-2004 03:49 PM


All times are GMT -5. The time now is 04:53 PM.

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