LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-29-2008, 06:51 AM   #1
santanu.roy
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
file:///root/ldp/Quick_HOWTO_%20_Ch31_%20_Centralized_Logins_Using_LDAP_and_RADIUS.htm
&
http://www.redhat.com/docs/manuals/e...-ldap-pam.html

links.
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/example.com.ldif
[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' \
'(objectclass=*)'
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
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 296

Rep: Reputation: 49
Quote:
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.
 
  


Reply

Tags
ldap


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


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

Main Menu
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