LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-26-2003, 10:18 PM   #1
ravi_sambaji
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.


Ravi
 
Old 06-27-2003, 08:26 AM   #2
jamrock
Member
 
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.

http://www.openldap.org/doc/admin21/

http://www.openldap.org/doc/admin21/quickstart.html

http://www.yolinux.com/TUTORIALS/Lin...AP.html#SCHEMA
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 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
Open Source Consulting | Domain Registration