Problem moving user entries between OU's

2016-03-21
2016-03-23
  • Paul Mahoney

    Paul Mahoney - 2016-03-21

    Hi

    We have an LDAP plugin that enforces uidnumber to be unique. When enabled, we cannot move a user entry from one OU to another. We get 'attribute with value already exists (attribute:"uidnumber")'.

    I'm assuming it's because the Admin Tool is inserting the record in the new location before removng it from the old. But I may be completeyl wrong.

    Any ideas how we can resolve this?

    Thanks
    Paul

     
  • Tihomir Karlovic

    Hi Paul,

    yes, you are completely right. LdapAdmin removes the old record only when the new record is error free inserted.I don't think there is anything that you can do now to circumvent this situation, except to temporary disable that plugin. I could add the options switch in LdapAdmin to allow for reverse operation (deleting before the record is inserted) to circumvent such situations. I have also considered to add a LADP v3 Move operation switch but didn't follow up on it because this would just move the record without adjusting attributes or group membership.

    Cheers,
    Tihomir

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks