[jira] Commented: (DIREVE-216) Adding new object classes to an entry removes the old o
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Commented: (DIREVE-216) Adding new object classes to an entry removes the old o




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (DIREVE-216) Adding new object classes to an entry removes the old o  
Ugo Cei (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-10-05 12:45 PM

[ http://issues.apache.org/jira/brows...231830
6 ]

Ugo Cei commented on DIREVE-216:
--------------------------------

Using a newer JAR (from Aug 10) fixed my testcase. However, using the LDIF f
ile above, the "objectclass: top" attribute got lost.

> Adding new object classes to an entry removes the old ones
> ----------------------------------------------------------
>
>          Key: DIREVE-216
>          URL: http://issues.apache.org/jira/browse/DIREVE-216
>      Project: Directory Server
>         Type: Bug
>     Versions: 0.9.1
>  Environment: Server: ApacheDS 0.9.1 on Windows XP
> Java version "1.5.0_03"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
> Client: Windows XP
> Command line tool ldapadd (from IBM Tivoli Directory Server)
> or Softerra LDAP Administrator 3.2
>     Reporter: Stefan Zoerner
>     Assignee: Alex Karasulu
>      Fix For: 0.9.2
>  Attachments: LDAPModifyAddTest.java, ldap.jar
>
> If additional objectclasses are added to an existing entry by a client, th
e old ones are lost.
>  e.g. applying the following LDIF to ApacheDS
> --8<--
> # create an entry for a person
> #
> dn: cn=Tori Amos,ou=system
> changetype: add
> objectclass: top
> objectclass: person
> cn: Tori Amos
> sn: Amos
> description: an American singer-songwriter
> # add objectclasses and uid
> #
> dn: cn=Tori Amos,ou=system
> changetype: modify
> add: objectclass
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> -
> add: uid
> uid: tamos
> -
> -->8--
> leaves an entry behind with only two (instead of all for objectclasses):
> $ ldapadd -p 10389 -D uid=admin,ou=system -w *** -f addAndModifyObjectClas
ses.ldif
> adding new entry cn=Tori Amos,ou=system
> modifying entry cn=Tori Amos,ou=system
> $ ldapsearch -p 10389 -b "ou=system" "(cn=Tori Amos)"
> cn=Tori Amos,ou=system
> sn=Amos
> objectclass=inetOrgPerson
> objectclass=organizationalPerson
> cn=Tori Amos
> uid=tamos
> description=an American singer-songwriter
> ---
> Expected result would be:
> cn=Tori Amos,ou=system
> sn=Amos
> objectclass=top
> objectclass=person
> objectclass=inetOrgPerson
> objectclass=organizationalPerson
> cn=Tori Amos
> uid=tamos
> description=an American singer-songwriter

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register