In our organization, each person belongs to two organizational units at the
same
time.  So if we change RDN for any person, we have to modify the RDNs in both

branches.  But modrdn does not work fine as a changetype in ldif in our case.

Specifically say, I have the following lines for one person (aaa) in the
ldif:

===================
dn: uid=aaa, ou=dept-1, dc=my,dc=edu
changetype: modrdn
newrdn: uid=bbb
deleteolduid: 1

dn: uid=aaa, ou=dept-2, dc=my,dc=edu
changetype: modrdn
newrdn: uid=bbb
deleteoldrdn: 1
====================

'ldapmodify' outputs 'constraint violation' when it's executed agaist the
above
ldif.  Seems to me that modrdn does not like it because the new RDNs are
same.

But they are under the different branches.  Do I have to split the ldif into
two
to work around it? 

Any ideas?

Bing 



 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts
made through NewsOne.Net violate posting guidelines, email [EMAIL PROTECTED]

Reply via email to