Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

LDAP: error code 80 - 00002089: UpdErr: DSID-031B0E6F, problem 5012 (DIR_ERROR), data 2 ]

rmartinez
New Contributor III
New Contributor III

All,

Good afternoon. I am trying to understand why I am getting this error "SAV-Error while enabling account,[LDAP: error code 80 - 00002089: UpdErr: DSID-031B0E6F, problem 5012 (DIR_ERROR), data 2 ]"

The JSON I used to create the account is the same I am using to basically move the account to a different OU.

This code was added under ENABLEACCOUNTJSON the highlighted section was the one I added.

"ENABLEACCOUNTOU": "${if (user?.companyname.equals('Infinex CCH')) {'OU=Meriden,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.companyname.equals('APH CCH')) { 'CN=' + task?.accountName + ',OU=Holbrook,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.companyname.equals('Lincoln CCH')) { 'CN=' + task?.accountName + ',OU=Lincoln,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.customproperty7.equals('Y') && user?.customproperty37.equals('N')) {'OU=Active,OU=LTS,OU=Sites,OU=AdvisorGroup,DC=agtest,DC=ibddomain,DC=net'} else if (user?.costcenter.equals('9760')) { 'CN=' + task?.accountName + ',OU=Fort Lauderdale,OU=Osaic Advisors,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.location in ['Atlanta', 'Jersey City', 'La Vista', 'Norcross', 'Oakdale', 'Phoenix', 'St Petersburg', 'Woodland Hills']) {'OU=' + user?.location + ',OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else {'OU=Remote,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'}}",

Which is working while creating the account in the OU (ACCOUNTNAMERULE)

${if(user?.companyname.equals('Infinex CCH')) { 'CN=' + task?.accountName + ',OU=Meriden,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.companyname.equals('APH CCH')) { 'CN=' + task?.accountName + ',OU=Holbrook,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.customproperty7.equals('Y') && user?.customproperty37.equals('N')) {'CN='+ task?.accountName + ',OU=Active,OU=LTS,OU=Sites,OU=AdvisorGroup,DC=agtest,DC=ibddomain,DC=net'}else if (user?.companyname.equals('Lincoln CCH')) { 'CN=' + task?.accountName + ',OU=Lincoln,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.costcenter.equals('9760')) { 'CN=' + task?.accountName + ',OU=Fort Lauderdale,OU=Osaic Advisors,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.location in ['Atlanta', 'Jersey City', 'La Vista', 'Norcross', 'Oakdale', 'Phoenix', 'St Petersburg', 'Woodland Hills']){ 'CN=' + task?.accountName + ',OU=' + user?.location + ',OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else { 'CN=' + task?.accountName + ',OU=Remote,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'}}

Do you guys see any error in this payload?

Thanks a lot

 

1 REPLY 1

rushikeshvartak
All-Star
All-Star

{
"ENABLEACCOUNTOU": "${if (user?.companyname.equals('Infinex CCH')) {'OU=Meriden,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.companyname.equals('APH CCH')) { 'CN=' + task?.accountName + ',OU=Holbrook,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.companyname.equals('Lincoln CCH')) { 'CN=' + task?.accountName + ',OU=Lincoln,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.customproperty7.equals('Y') && user?.customproperty37.equals('N')) {'OU=Active,OU=LTS,OU=Sites,OU=AdvisorGroup,DC=agtest,DC=ibddomain,DC=net'} else if (user?.costcenter.equals('9760')) { 'CN=' + task?.accountName + ',OU=Fort Lauderdale,OU=Osaic Advisors,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else if (user?.location in ['Atlanta', 'Jersey City', 'La Vista', 'Norcross', 'Oakdale', 'Phoenix', 'St Petersburg', 'Woodland Hills']) {'OU=' + user?.location + ',OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'} else {'OU=Remote,OU=office365,OU=AGUsers,DC=agtest,DC=ibddomain,DC=net'}}"
}


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.