LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-13-2007, 02:35 AM   #1
rajesh.nigam12
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
Question ldap configuration


hi
I have a probleb while configuring ldap
ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f /etc/openldap/ldapuser.ldif , when i run this command i found error
"adding new entry "uid=ldapuser,ou=People,dc=example.dc=com""
ldap_add: no such object (32)
 
Old 03-16-2007, 02:32 PM   #2
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
Did you setup the "People" organizational unit?

Create a text file, people.ldif, and type in:

# people
dn: ou=People,dc=example,dc=com
ou: People
objectClass: organizationalUnit

Then run: slapadd -v -l people.ldif
 
Old 04-09-2007, 04:00 AM   #3
rajesh.nigam12
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
getting error again

error while running this cmd
slapadd -v -l people.ldif
slapadd: line 5: database (dc=example.com,dc=com) not configured to hold "ou=People,dc=example,dc=com"
slapadd: line 5: database (dc=example.com,dc=com) not configured to hold "ou=people,dc=example,dc=com"
 
Old 10-08-2007, 12:25 PM   #4
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
Thanks

msound, thanks that worked for me. I just used:
ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f people.ldif

rather than what rajesh.nigam12 had used
thanks for the help
 
  


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 configuration ssilayaraja Linux - Networking 2 09-25-2006 12:21 AM
LDAP configuration calutateo Linux - Software 0 04-30-2006 06:41 AM
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 ravi_sambaji Linux - Networking 1 06-27-2003 08:26 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:14 PM.

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