LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 29th, 2003, 08:27 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 867 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 23 h 41 m 23 sec
Reputation Power: 69
'cn' is not present

openldap-2.1.22 compiled, FreeBSD5.1, BDB 4.1.25
dn: cn=Jan Slon,ou=Praha BS,o=ABC data,dc=cps,dc=cz
cn: Jan Slon
sn: Slon
givenName: Jan
initials: JS
ou: Praha BS
description: Jan Slon
mail: js@cps.cz
objectClass: top
objectClass: person
objectClass: inetOrgPerson
adding new entry "cn=Jan Slon,ou=Praha BS,o=ABC data,dc=cps,dc=cz"
ldapadd: update failed: cn=Jan Slon,ou=Praha BS,o=ABC data,dc=cps,dc=cz
ldap_add: Naming violation (64)
additional info: value of naming attribute 'cn' is not present in entry

Does anyone occure to meet such a problem? Any clue why it refuses to add this entry to the DB?
Thank you.


P.S. Please, note that all names has been changed.

Reply With Quote
  #2  
Old October 29th, 2003, 08:45 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 867 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 23 h 41 m 23 sec
Reputation Power: 69
That was quick. Solved.

cn within dn must equal to single cn entry in the structure.

NLS issue is a drag at times. I didn;t include this int the above example. Sorry for that.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > 'cn' is not present

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap