LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-24-2009, 01:56 AM   #1
soni_silver17
LQ Newbie
 
Registered: Jan 2009
Posts: 21

Rep: Reputation: 15
ldap_bind: Invalid credentials (49)


Respected staff ,

While i am trying to execute the command
#ldapadd -x -h -D "cn=,dc=,dc" -w passwd -f group.LDIF
#ldapadd -x -h -D "cn=,dc=,dc" -w passwd -f passwd.LDIF ,
i am getting error as
error : ldap_bind : Invalid credentials (49)

please help me , how to solve this problem
 
Old 01-24-2009, 02:47 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,968

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
This is because the dn you use is not correct. It should be something like:
Code:
"cn=admin, dc=domain, dc=com
Check slapd.conf for the correct admin dn.

Regards

Last edited by bathory; 01-24-2009 at 05:44 PM.
 
  


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
ldap_bind: Invalid credentials (49) pdrobe Linux - General 12 09-13-2012 03:41 AM
ldap_bind: Invalid credentials (49) on OpenLDAP server gergaholic Fedora 2 11-05-2007 04:23 PM
ldapadd returning ldap_bind: Invalid credentials (49) unixtech Linux - Server 7 06-01-2007 01:37 PM
LDAP_BIND: Invalid Credentials rupesh_pulikool Linux - Software 0 02-01-2005 02:27 PM
ldap_bind:Invalid credentials chintone Linux - General 0 12-06-2002 06:42 AM


All times are GMT -5. The time now is 01:15 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration