A.3 Address Book Configuration (Synchronization)

Make sure you are in the /opt/iic/bin/ directory, then execute ldap-sync.sh portal-server-hnameto perform the initial synchronization.

NOTE:After starting the server, wait about 20 seconds before executing this command. If you do not receive an XML message, you probably did not wait long enough.

This script displays an XML message if it fails (the fault message is clearly visible):

./ldap-sync.sh 151.155.136.84
curl: (7) couldn't connect to host 

In this example, the right server was used with the wrong address. Check the global-config file:

portal_ip=( 151.155.136.85 )
portal_local_hname=( localhost ) 

If it succeeds, the XML data contains a single number that is the number of users actually synchronized:

./ldap-sync.sh 151.155.136.85
<methodResponse> 
<params> 
<param><value><array><data> 
<value><i4>6</i4></value> 
</data></array></value></param> 
</params> 
</methodResponse> 

You can run this script manually as needed, or use cron to configure it to run periodically. The default setting is for it to run daily.