Common attribute mappings
The User DN Attribute, User ID Attribute, and Attribute Mappings must be set appropriately for the configured LDAP server schema. This is especially important in deployments with existing user registries.
Default attribute mappings
The default mapping that ships out-of-the-box makes several assumptions:
- User DNs are set using the cn attribute.
- There exists a user ID attribute called uid.
- The username attribute is populated in the LDAP attribute cn, and the password in userPassword.
These assumptions may not be correct depending on the LDAP server that is used. The following sections describe some common deployments that require modifications to the default configuration.
User Registries with users created by pdadmin
- User DN Attribute: cn
- User ID Attribute: uid
- Attribute Mappings:
userName: uid
The crucial variation from the default SCIM Attribute Mappings is changing the userName to map to the uid LDAP attribute. If this mapping is not changed, multiple entries may be returned via the SCIM API for a single user.
Active Directory User Registry
- User DN Attribute: cn
- User ID Attribute: userPrincipalName
- Object classes = top, organizationalPerson, person, user
- Attribute Mappings:
userName: userPrincipalName
password: unicodePwd