| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-15-2011, 03:28 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Distribution: RHEL, CentOS, Debian, AIX
Posts: 15
Rep:
|
getting error while adding account in LDAP "ldap_bind: Invalid credentials (49)"
Hi, I am setting a ldap server by reffering ( http://www.howtoforge.com/linux_open..._server_client) and getting following error in step #12
[root@ldap ~]# ldapadd -x -D "cn=Manager,dc=adminmart,dc=com" -W -f /etc/openldap/adminmart.com.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
Please suggest !!!. I am using RHEL 5.5
|
|
|
|
02-15-2011, 03:56 AM
|
#2
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,711
|
Hi,
Which password did you create in steps 3?
The mentioned "password" in those steps is the encrypted password, the actual password isn't given. You need to create a password yourself in step 3 and paste the encrypted string that is returned into slapd.conf (step 4). Do remember to restart (step 5).
Hope this helps.
|
|
|
|
02-16-2011, 03:49 AM
|
#3
|
|
LQ Newbie
Registered: Jun 2010
Distribution: RHEL, CentOS, Debian, AIX
Posts: 15
Original Poster
Rep:
|
Hi all,
Same issue, Any clue..
|
|
|
|
02-16-2011, 04:25 AM
|
#4
|
|
Member
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444
Rep:
|
Quote:
Step #4. Update /etc/openldap/slapd.conf for the root password
[root@ldap ~]# vi /etc/openldap/slapd.conf
#68 database bdb
#69 suffix "dc=adminmart,dc=com"
#70 rootdn "cn=Manager,dc=adminmart,dc=com"
#71 rootpw {SSHA}cWB1VzxDXZLf6F4pwvyNvApBQ8G/DltW
|
Please post this section of your slapd.conf file.
|
|
|
|
02-16-2011, 11:57 PM
|
#5
|
|
LQ Newbie
Registered: Jun 2010
Distribution: RHEL, CentOS, Debian, AIX
Posts: 15
Original Poster
Rep:
|
Hi,
Problem is solved..by googling..
It was configuration error in slapd.conf. The lines must be alinged left in file..
Ravi
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|