Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

LDAP New Account Creation Failing

GPS
New Contributor II
New Contributor II

Hi team,

I am trying to create a new AD account from ARS Saviynt.

Account creation failed with the below error.
We are using LDAP on 389.

Create Account: I am using basic fields only
{
"givenName": "${user.firstname}",
"sn": "${user.lastname}",
"displayname": "${user.displayname}",
"sAMAccountName": "${task.accountName}",
"employeetype": "${user.employeeType}",
"description": "${user.customproperty63}",
"userPrincipalName": "${user.email}",
"employeeID": "${user.employeeid}",
"co": "${user.country}",
"department": "${user.departmentname}",
"mail": "${user.email}",
"name": "${user.displayname}",
"title": "${user.title}",
"objectClass": [
"top",
"person",
"organizationalPerson",
"user"
],
"userAccountControl": 512
}

AccountNameRule:
CN=${user.firstname} ${user.lastname},OU=Saviynt Test,DC=Test,DC=lan,DC=io###CN=${user.firstname} ${user.lastname}1,OU=Saviynt Test,DC=Test,DC=lan,DC=io###CN=${user.firstname} ${user.lastname}2,OU=Saviynt Test,DC=Test,DC=lan,DC=io



Error:
Checking DN for CN=Test Sav39,OU=Saviynt Test,DC=Test,DC=lan,DC=io.Not FOund DN for CN=Test Sav39,OU=Saviynt Test,DC=Test,DC=lan,DC=io. Error while creating account in AD - [LDAP: error code 53 - 0000052D: SvcErr: DSID-031A126C, problem 5003 (WILL_NOT_PERFORM), data 0 ]

11 REPLIES 11

AmitM
Valued Contributor
Valued Contributor

Hi @GPS ,

This happens generally when you try to setup sensitive information on non-tls connection that is 389 like password.

SETRANDOMPASSWORD , set this config in your connection to false

Thanks,

Amit

If it helped. Please ACCEPT SOLUTION and hit Kudos.

GPS
New Contributor II
New Contributor II

@AmitM 
I have already done that.

GPS_0-1706894166410.png

 

AmitM
Valued Contributor
Valued Contributor

Hi @GPS , good to know that. You didn't mention that in your post earlier.

This is an issue that mostly happens when connecting on port 389. You can try to use 636 and have certs uploaded and try. It might not happen.

You need to do some hit and trial. I would have started with removing userAccountControl. Just start with 3-4 attrs and reach to the attribute causing it,

Hope it helps , good luck.

Thanks,

Amit 

GPS
New Contributor II
New Contributor II

@AmitM 

Thanks for the input. We want to use the 389 port only.
I started do it. I just posted my question so if there is any quick fix I can look for.

Possible reasons for this error include:

  1. Insufficient Permissions: The account used for creating the user might not have the necessary permissions to perform the operation.

  2. Validation or Constraints: The data being provided might not meet certain validation rules or constraints defined in the Directory schema.

  3. Object Already Exists: The user account might already exist, and the operation is attempting to create a duplicate entry.

  4. Password Policy Violation: If you're setting a password, ensure it complies with the password policy of your LDAP Directory.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

jralexander137
New Contributor III
New Contributor III

@GPS Did you happen to get this resolved? Facing similar issue.

GPS
New Contributor II
New Contributor II

@jralexander137 
Yes, the issue is Resolved.

jralexander137
New Contributor III
New Contributor III

Were you able to resolve the issue and still connect over port 389 or did you have to use a ssl cert and use ldaps over 636? Or what did you end up having to do to resolve? Thanks. @GPS 

You need to use 636.

@GPS Please confirm working solution and Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

GPS
New Contributor II
New Contributor II

@jralexander137 and @rushikeshvartak 
I can create an account on 389 port, with 3 or 4 attributes.
Later, I moved to 636 port to pass the password while creating the account.

I would recommend to use 636 port. 




Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.