Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-26-2003, 10:18 PM   #1
LQ Newbie
Registered: Jun 2003
Location: Bangalore
Posts: 2

Rep: Reputation: 0
Exclamation ldap configuration

Hi guys
Iam a new bee to the forum.
iam facing problem in ldap configuration.
I have configured the slapd.conf file.
service will start ok and stops ok when starting and stoping
the service. Iam facing problem while connecting to the ldap
server with ldapadd client.It shows error like

ldap_bind :Invalid credentials

what could be the problem.can u send me sample configurati
on file.

Old 06-27-2003, 08:26 AM   #2
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
I don't have a sample file nearby but I can give you some links.

The main configuration file is the slapd.conf. There will be a line in it as follows:

suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret

No doubt you will have changed the suffix to one that suits your network. Note that the rootdn is the manager. The rootpw (which you need to change from the default) is the manager's password.

It appears as if you are getting a invalid credential message because you are not telling LDAP that you are the manager of the directory service.

If you want to add some entries the command would be as follows:

ldapadd -f entries.ldif -x -D "cn=Manager,dc=example,dc=com" -w secret

Note that secret is the password.

If you don't want to type the password and make it visible you can use:

ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f example.ldif

It will prompt you for the password but will not show what you type.

If you are using a GUI interface there should be some place for you to enter your username and password.

Here is some documentation.


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 configuration linuxlastslonge Linux - Software 1 06-17-2005 08:04 AM
LDAP client configuration help omart Linux - Software 1 11-22-2004 02:06 AM
LDAP Configuration on Redhat 9 akumar_net Linux - Software 1 07-05-2004 08:02 AM
????Any LDAP configuration Checklists? pudhiyavan Linux - Networking 0 12-05-2003 05:59 AM
Re ldap configuration problem ravi_sambaji Linux - Networking 1 06-28-2003 11:43 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 AM.

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