The defaultps.xml 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.
Each book node contains a book definition that is created for users in the domain under which the defaultps.xml file resides.
Following are examples of the XML sections in defaultps.xml that contain the definitions of Personal Address Book and a Corporate Address Book.
<book booktype="abook"\> <bookoc\>piLocalBook</bookoc\> <entry entryID="pab"\> <displayname\>_Personal Address Book</displayname\> <description\>_This is your Personal Address Book</description\> </entry\> </books\>
<book booktype="abook" bookremoteurl="ldap://corpdirectory"\> <bookoc\>piRemoteBook</bookoc\> <entry entryID="idirectory"\> <displayname\>_Corporate Directory</displayname\> <description\>_This is Corporate Directory</description\> </entry\> </book\>
For corporate and remote address books a corresponding xxx instance should exist in the personalstore.properties file. The value of db.xxx.urlmatch in personalstore.properties file should be assigned the value of bookremoteurl attribute present in defaultps.xml file.
To add a new remote address book, you need to add the following items:
Add a new book node in defaultps.xml file
Add a new xxx instance in personalstore.properties file.
Create a directory under WEB-INF/config to store the db_config.properties and xlate files.
The xlate files contains the field mappings between an LDAP schema and address book XML schema for a contact or group.