Configure the ldapentry.xml file for a custom user DN prefix
You must complete additional configuration steps if your user DNs have a prefix other than "uid=". For example, "cn=".
The instructions found on this page do not apply to Microsoft Active Directory. These instructions apply to all other LDAP servers.
- Open the WC_eardir /xml/ldap/ldapentry.xml file in a text editor.
You can ignore the <code >ldapocs </code > and <code > ldapbase </code > tags in this file. These tags are no longer used.
- If you use a custome prefix for your user DNs, complete the following steps:
These steps assume that you are using the prefix "cn=" for your user DNs.
- Search for the following entry: <ldapsetting > <ldaprdn rdnName="uid" keyAttrName="logonId" keyObjName="UserRegistry"/ > </ldapsetting > <ldapmap >
- Replace this entry with the following information: <ldapsetting > <ldaprdn rdnName="cn" keyAttrName="logonId" keyObjName="UserRegistry"/ > </ldapsetting > <ldapmap >
- Search for the following entry:
<map > < objectAttribute attrName="lastName"/ > < objectAttribute attrName="firstName"/ > < objectSeparator attrSeparator="/"/ > < ldapAttribute name="cn" operation="replace" flow="wcsToLdap"/ > </map >
- Replace this entry with the following information: <map > <objectAttribute attrName="logonId"/ > <ldapAttribute name="cn" operation="replace" flow="wcsToLdap"/ > </map >
Related Concepts
Directory services and WebSphere Commerce
Related tasks
Configure directory services (LDAP) with WebSphere Commerce
Prepare the LDAP server for use with WebSphere Commerce
Install Member Manager