none
Is it possible to modify the DN to replace "CN=" to "UID=" for a user object in Active Directory through LDP.exe? RRS feed

  • Question

  • I have an application that authenticates to LDAP. The application searches for the Base DN "uid=username,ou=user,dc=contoso,dc=lab". I'm trying to get the application to authenticate with AD. Then DN for my user objects is "cn=username,ou=user,dc=contoso,dc=lab". 

    I tried to modify the object DN to use UID= instead of CN= in LDP.exe but received this error. I also tried to create a inetorgperson user account to modify that. I received the error below. 

    0x35 = ldap_modrdn2_s(ld, CN=username,OU=Users,DC=contoso,DC=lab, UID=username,OU=Users,DC=contoso,DC=lab, TRUE)
    Error: ModifyRDN: Unwilling To Perform. <53>
    Server error: 00002077: SvcErr: DSID-031B0DD1, problem 5003 (WILL_NOT_PERFORM), data 0


    • Edited by IWAR Thursday, January 16, 2014 7:40 PM
    Thursday, January 16, 2014 7:39 PM