on 08-31-2012 2:14 PM
Hi
I ran into situation that I should create AD cn as Lastname, Firstname.
I am concatenating it with JavaScript..
I have tested several amounts of \ characters in front of comma but not found working solution
var addn = "CN=" + LastName + "\\, " + FirstName + "," + buUserDN + "," + buBaseDN
Error with \\ in Javascript also tried \\\, \\\\, \\\\\\ and \\\\\\\\
putNextEntry failed storingCN=Test21\, Vellu,OU=Users,OU=business,OU=DEV,OU=IdentityManagement,dc=global,dc=company,dc=net
Exception from Add operation:javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1]; remaining name 'CN=Test21\, Vellu,OU=Users,OU=business,OU=DEV,OU=IdentityManagement,dc=global,dc=company,dc=net'
Exception from Modify operation:javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - 00000057: LdapErr: DSID-0C090B8A, comment: Error in attribute conversion operation, data 0, v1db1]; remaining name 'CN=Test21\, Vellu,OU=Users,OU=business,OU=DEV,OU=IdentityManagement,dc=global,dc=company,dc=net'
Well
Shouldn't make many changes same time - error wasn't due to excaping the name. Error came from invalid value os country code.
And answer to my question is
var addn = "CN=" + LastName + "\\, " + FirstName + "," + buUserDN + "," + buBaseDN |
So there should be two escape characters in front of comma in Javascript code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Could you please let me know how did you resolve the error. I'm working on IDM 7.2 SP5 and I receive following error when "Create AD user" task is executed.
Exception from Add
operation:javax.naming.directory.InvalidAttributeValueException: [LDAP: error
code 21 - 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute
conversion operation, data 0, v1db1]; remaining name
'CN=anuj0240n,OU=Security,OU=User,DC=ABCD,DC=sg'
Exception from Modify
operation:javax.naming.directory.InvalidAttributeValueException: [LDAP: error
code 21 - 00000057: LdapErr: DSID-0C090B8A, comment: Error in attribute
conversion operation, data 0, v1db1]; remaining name
'CN=anuj0240n,OU=Security,OU=User,DC=CHCS,DC=sg'
Thanks,
Anuj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Matt,
All the attributes of DN are correct. I have copied an existing DN and changed the CN."SAP ModifyAD user" task is working as expected , the problem is only with "SAP Create AD user".
I have tried with following DN , but nothing works. Everytime I get the same exception:
1.CN=anuj0240n,OU=Security,OU=User,DC=ABCD,DC=sg
2.CN=TESTABCDNEW,OU=Security,OU=User,DC=ABCD,DC=sg
3.CN=ANUJ,OU=Security,OU=User,DC=ABCD,DC=sg
Everytime I get the same error.
Is there any setting on AD where we specify the naming standards for CN?
Interesting point to note is that I'm able to perform all Modify AD operation using provisioning framework "Modify AD user" task. I can even create users with above mentioned DNs manually in AD ,but only "Create AD user" in IDM fails while creating user
Thanks,
Anuj
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.