LinuxQuestions.org
Visit Jeremy's Blog.
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 12-05-2009, 01:19 PM   #1
pbpatre
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Unhappy cannot create an entry in LDAP: No object found


I have set up an LDAP server and it is being used for authentication of users. My base dn is dc=organisation, dc=com. Now I have some users as uid=users, ou=People,dc=organisation,dc=com. The object class of users is top,inetOrgperson and posixAccount. Now I have to create users with dn as uid=user1, dc=section1, dc=organisation, dc=com and more sections. But when I try to add an entry it gives an error as LDAP: error code 32 - No Such Object. So how do I add entries with different sections? Is it the problem with objectclass? Do I need to define new one? Or add an attribute in the objectclass? Also I want to authenticate these users in the sections.
Please help.
 
Old 12-05-2009, 01:48 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
From what you've said and the error, it sounds like "dc=section1, dc=organisation, dc=com" doesn't exist yet. Make it so!
 
Old 12-05-2009, 02:30 PM   #3
pbpatre
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Talking Solved

yeah thanks . I didnt create the entry "dc=section1, dc=organisation, dc=com". Creating it solved the problem. Thanks again.
 
  


Reply

Tags
authentication, error, 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
deleting a ldap object/user using ldapdelete is giving sasl error vasavib Linux - Newbie 3 12-04-2011 03:06 AM
ActiveX component can't create object pu8y Linux - Software 3 11-12-2009 12:22 PM
edit ldap entry philosophia Linux - Newbie 2 05-31-2007 09:07 PM
Can curl download a binary entry from a ldap server ? tclwp Programming 4 07-19-2005 08:57 AM
ldap-abook unable to get street name in ldap-entry Jingle Linux - Software 1 06-06-2004 08:13 PM


All times are GMT -5. The time now is 01:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration