Mapping User Details from LDAP Server to Adeptia Server
It is very likely that the Adeptia Server and LDAP Server uses different parameters to store their user accounts information. Therefore, while configuring LDAP, you will be required to map the user details from your LDAP server to Adeptia Server. To configure mapping between the two servers, Adeptia Suite provides ldapConfiguration.xml file, which is stored in ServerKernel/etc folder of your Adeptia Suite. After successful retrieval of LDAP user object (based on specified base DN and base filter) and authentication, it's attributes are queried to map it to Adeptia user attributes so that similar user can be created inside Adeptia. If retrieval of specified attribute from LDAP user object fails, it is populated with NA. So, all of them are optional except "uniqueIdentifier" which specifies the attribute through which user is uniquely identified in LDAP Server and we need this attribute value for creating user in Adeptia.
The configurable ldapConfiguration.xml file has each field for user in Adeptia Suite as tag which contains the following two attributes:
- Mapped-to: This attribute contains the name of attribute which is to be mapped with user detail in Adeptia Server.
- Default-value: This attribute contains the default value, such as NA, if the attribute defined in above section does not have any value or does not exist in Adeptia Server.
The following screen shot displays the tags and attributes in the ldapConfiguration.xml file (see Figure 6 ):
Figure 6: Tags and Attributes in ldapConfiguration.xml file
Detail of each field of LdapConfiguration.xml File:
Field Name | Field Description | Sample or Possible | Default Value | Mandatory |
uniqueIdentifier | It specifies the user |
| - | Yes |
firstName | It specifies the user | givenName | N.A. | No |
lastName | It specifies the user | sn | N.A. | No |
description | It specifies the user |
| LDAP user | No |
address1 | It specifies the user | streetAddress | N.A. | No |
address2 | It specifies the user |
| N.A. | No |
city | It specifies the user | l | N.A. | No |
state | It specifies the user | st | N.A. | No |
zip | It specifies the user | - | N.A. | No |
country | It specifies the user | co | N.A. | No |
fax | It specifies the user | facsimileTelephoneNumber | N.A. | No |
phone | It specifies the user | telephoneNumber | N.A. | No |
mobile | It specifies the user | mobile | N.A. | No |
It specifies the user | email@company.com | No | ||
title | It specifies the user | title | N.A. | No |
comment | It specifies the user | - | N.A. | No |
orgName | It specifies the user | company | N.A. | No |
orgUrl | It specifies the user | - | N.A. | No |