Mapping user attributes to fields in LDAP
Each user of the solution has user attributes that can be edited using the Profile Settings view. If you want to retrieve values from your Lightweight Directory Access Protocol (LDAP) user registry for particular user attributes, rather than the solution database, you must map the attributes to fields in your LDAP user registry. Any changes that you make affect all users of the solution.
Before you begin
EMAIL
EXTERNALID
FIRSTNAME
FUNCTION
LASTNAME
MOBILE
PASSWORD
PREFERREDLANGUAGE
TIMEZONE
UID
About this task
Procedure
What to do next
- Log on to the LDAP server as a root user.
- Create an LDAP data interchange format (LDIF) file in the /tmp directory
with content similar to the following sample:
dn: cn=schema changetype: modify add: attributeTypes attributeTypes: (1.3.6.1.4.1.1466 NAME ('externalId') DESC 'The external ID for the user.' SYNTAX 1.3.6.1.4.1.1466.115.121.1.25 SINGLE-VALUE ) - Enter the following command to use the LDIF file to map the attribute to an LDAP field, where
ldap_install_path is the LDAP installation path, ldap_passwd
is the password for your LDAP server, and filename.ldif is
the name of your LDIF
file:
ldap_install_path/bin/idsldapmodify -D 'cn=root' -w ldap_passwd -i /tmp/filename.ldif - Enter the following command to restart IBM Security Directory Server, where
ldap_install_path is the LDAP installation path and
instance_name is the LDAP instance name:
For example,ldap_install_path/sbin/ibmslapd -I instance_name/opt/ibm/ldap/V6.4/sbin/ibmslapd/sbin/ibmslapd -I dsrdb1 - Restart the WebSphere® Application Server Liberty Profile server. For more information, see the related link.