Sun Java System Communications Express 6 2005Q4 Administration Guide

Configuring Corporate Directory Parameters File

Table 3-8 lists the default corporate directory parameters in file. By default, all the LDAP related information is set based on the values mentioned for user/group directory.

The file can be accessed from:


Table 3–8 Corporate Directory Parameters


Default Value 




Specifies the LDAP host for the Corporate Directory. 



Specifies the Port for the Corporate Directory. 



Specifies the DN used to bind to the Corporate Directory. 

If the login type is “restricted” or “proxy” it is mandatory to assign a value to defaultserver.ldapbinddn.

If the login type is “anonymous,” you need not enter a value for this parameter. 



Specifies the bind password. 



Specifies the key in corporate directory used to identify a contact/group entry. 

You can set the entry_id to the UID or a key used to fetch the contact/group information, such as, empid or principal ID. 

In the xlate-inetorgperson.xml file replace “uid” in <entry entryID= “db:uid”\> with the entry_id value specified here.



Specifies the method using which the connection to the LDAP store is maintained. 

You can assign the following three values to this parameter: 

anon - to connect to the LDAP as an anonymous user.

restricted - to connect as a user who has the rights to perform operations on the Address Book Store.

proxy - to masquerade as a user who can perform operations on the Address Book Store. Assigning this value enhances performance as it bypasses the LDAP bind on each operation.

NOTE: A Read only access is given to a masquerading user. 


Specifies the minimum number of LDAP client connections maintained for Corporate Directory. 


Specifies the maximum number of LDAP client connections maintained for Corporate Directory. 



Specifies the number of seconds before timing out an LDAP connection. Increase this value to accommodate large search results. 



Specifies the search query limit for a search. 

Corporate Directory maintains two xlate files in the format xlate-objectclass-name.xml.

In xlate-objectclass-name .xml, objectclass-name represents the object class identifying a particular LDAP entry type. For example, xlate-inetorgperson.xml is an object class used to identify a contact, and groupofuniquemembers is an object class used to identify a group in Sun Java System Directory Server.

The xlate files contains the field mappings between an LDAP schema and the address book XML schema for a contact or group. The mapping is defined in terms of XML nodes. For example,

ab-xml-schema-keydb:LDAPField /ab-xml-schema-key


ab-xml-schema-field is the value, address book uses in the code.

LDAPField is the corresponding field name in LDAP.

You need to provide an appropriate field name for LDAPField. The value assigned to LDAPField should correspond to the value of LDAPField existing in your corporate directory LDAP schema.

Code Example 3-1 is an example of xlate-inetorgperson.xml file:

Example 3–1 Default Contents of xlate-introgperson

<abperson uid="db:uid"\>
 <entry entryID="db:uid"\>
<phone priority="1" type="work"\>db:telephoneNumber</phone\>
<phone priority="2" type="fax"\>db:facsimileTelephoneNumber</phone\>
 <phone priority="3" type="mobile"\>db:mobile</phone\>
 <phone priority="4" type="home"\>db:homePhone</phone\>
 <phone priority="5" type="pager"\>db:pager</phone\>
 <email priority="1" type="work"\>db:mail</email\>
 <im priority="1" service="SunONE"\>db:uid</im\>
 <im priority="2" service="AIM"\>db:aimscreenname</im\>
 <im priority="3" service="ICQ"\>db:icqnumber</im\>
 <postaladdress type="home"\>
 <postaladdress type="work"\>
 <weburl priority="1"\>
 <weburl priority="2"\>
   <description\>Home URL</description\>
 <calendar type="calendar"\>