For a client, we have to connect a WSO2IS 5.10.0 to an Active Directory. For that we have created a secondary user Store with this configuration:
WSO2IS can connect to Active Directory as we can retrieve users and roles. Before doing any claim mapping we have tried to edit and create user without any problems. And then we have mapped some claims to retrieve more information from Active Directory. And here come our problems:
- We can't create a user in Active Directory
- We can't update a user in Active Directory
This two problem gives us this error :
Caused by: javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 - 00000057: LdapErr: DSID-0C090C45, comment: Error in attribute conversion operation, data 0, v1db1
Things that we have tried:
- Check (and check a second and third time) that all our claims are mapped correctly (and they are)
- Reset all claims to default mapping (on the state where we where able to create/update user)
- Set User DN Pattern (as explained here)
- Restart on a fresh instance of WSO2IS 5.10.0
But all things that we have tried are not helping and we are stuck.
Any help would be hugely appreciated. Thank you for any suggestions.
As asked, this is the AD attribut we have mapped :
- sn
- givenName
- cn
- displayName
- name
- description
- sAMAccountName
- userPrincipalName
- accountExpires
- pwdLastSet
- userAccountControl
- scriptPath
- homePhone
- mobile
- facsimileTelephoneNumber
- title
- department
- company