Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-29-2008, 06:51 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 7

Rep: Reputation: 0
Ldap config

Hi friend,
I tried to configure a ldap server with the help of

But I failed to cross the step of ldapadd & domainsearch:

[root@bigboy tmp]# ldapadd -x -D "cn=Manager,dc=example,dc=com" \
-W -f /etc/openldap/
[root@bigboy tmp]# ldapadd -x -D "cn=Manager,dc=example,dc=com" \
-W -f /etc/openldap/root.ldif
[root@bigboy tmp]# ldapadd -x -D "cn=Manager,dc=example,dc=com" \
-W -f /etc/openldap/ldapusers.ldif

Theses commands returning with an error msg. & ldapsearch -x -b 'dc=example,dc=com' \
this command is giving an output of 0 success.

But dns is working in this machine very fine.

Can you please guide me in proper way.

Last edited by santanu.roy; 01-29-2008 at 06:52 AM.
Old 01-30-2008, 05:01 AM   #2
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 297

Rep: Reputation: 49
Originally Posted by santanu.roy View Post
Theses commands returning with an error msg.
And have you considered telling us the *content* of that error message?

Without having any more detail, two typical causes come to mind:
  1. You'll have to add the top node "dc=example,dc=com" using slapadd rather than ldapadd. (And turn OFF slapd before doing that).
  2. Check the file permissions of your database files/directories.



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 config problem with GSSAPI: No such file or directory charlweed Linux - Server 1 01-17-2008 12:44 PM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 08:22 AM
LXer: LDAP Series Part IV - Installing OpenLDAP on Debian Plus Some LDAP Commentary LXer Syndicated Linux News 0 10-31-2006 06:54 PM
Ldap Config Help Need!!!! vpredestin Linux - Software 1 08-06-2005 06:54 PM
ldap-abook unable to get street name in ldap-entry Jingle Linux - Software 1 06-06-2004 07:13 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:37 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