You can configure Communications Express to add more than one remote address books. For example, you can have more than one corporate directories for users in different domains.
For remote address books a corresponding instance should exist in the personalstore.properties file. The value of db.xxx.urlmatch in the personalstore.properties file should be assigned the value of bookremoteurl attribute present in the defaultps.xml file.
To add a new remote address book, you need to add the following items:
Add a new book node in the defaultps.xml file.
This file contains the default definitions for personal and corporate address books that are created in the LDAP store when a user logs in for the first time. that contain the definitions of Personal Address Book and a Corporate Address Book. Following are examples of the XML sections in the defaultps.xml that contain the definitions for multiple remote address books:
<book booktype="abook" bookremoteurl="ldap://corpdirectory/o=org1,o=isp";> <bookoc>piRemoteBook</bookoc> <entry entryID="corpdir1"> <displayname>_Corporate Directory 1</displayname> <description>This is Corporate Directory 1</description> </entry> </book> <book booktype="abook" bookremoteurl="ldap://corpdirectory/o=org2,o=isp";> <bookoc>piRemoteBook</bookoc> <entry entryID="corpdir2"> <displayname>_Corporate Directory 2</displayname> <description>This is Corporate Directory 2</description> </entry> </book> |
Add a new instance in the personalstore.properties file.
The following is a sample entry in the personalstore.properties file configured for two remote address books.
db.idir.class = com.iplanet.iabs.ldapplug.iLDAP db.idir.urlmatch = ldap://corpdirectory/o=org1,o=isp db.idir.configpath = ../config/corp-dir db.idir.wildcardsearch = 0 db.idir.randompaging = false db.idir.corporatedir = true db.idir2.class = com.iplanet.iabs.ldapplug.iLDAP db.idir2.urlmatch = ldap://corpdirectory/o=org2,o=isp db.idir2.configpath = ../config/corp-dir db.idir2.wildcardsearch = 0 db.idir2.randompaging = false db.idir2.corporatedir = true |