Getting iCal Auto Complete to work

If iCal does not Auto-Complete the email addresses of invitees for events. Try following these steps to resolve the problem:

  1. Remove the iCal CalDAVCalendaring extension to WebDAV that enables you to synchronize calendars. account and run the Auto-configure iCal tool. This tool can be found in your WebMail, go to Settings > Integration with Mac.
  2. Go to the Directory Utility and check that the LDAPLightweight Directory Access Protocol - A protocol that enables users to access centrally managed contacts. entry for Kerio MailServer is at the top. You can find the Directory Utility in Leopard in Finder > Applications > Utilities > Directory Utility and, in Snow Leopard at OSX drive name > System > Library > CoreServices > Directory Utility.
  3. Clear the local LDAP caches:




  1. Check that the LDAP port is not blocked or being port forwarded to another machine in the network, such as the Open Directory machine.
  2. Check that the SSL certificateSSL certificates are used to authenticate an identity on a server. is not out of date

If the problem still persists, please follow the next steps carefully as the problem may be with your PTR records:

  1. Check that the Kerio MailServer LDAP service can be accessed from any computer by using the following command in Mac OSX Terminal:

ldapsearch –v –x –H ldap(s)://kms-server-address:LDAP port number

For example, ldapsearch –v –x –H ldaps://

If the search is successful, then you should see the following response:

# search result


Result: 0 Success

  1. If OpenLDAP answers successfully, then you need to check whether the PTR record is correct. You need to get the IP addressAn identifier assigned to devices connected to a TCP/IP network. of the MailServer hostname using nslookup:

nslookup [KMS hostname]

For example, nslookup

You should get this reponse in return:



Non-authoritative answer:




The IP addresses above are examples. In real-time these IP addresses for your KMS hostname will be different.

Once you have this information, take a note of the IP address (in the example, it is You can now perform a dig on this address to check the PTR record.

dig –x [IP Address]

For example, dig –x

You should get this reponse in return:

; <<>> DiG 9.4.1-P1 <<>> -x




;; MSG SIZE rcvd: 89

You will now need to perform an nslookup on the PTR record to see if the record is pointing to a name for which there is no A record:


You should get this reponse in return:

Non-authoritative answer:

You should get this reponse in return:

** server can't find NXDOMAIN

If your PTR record has an incorrect response, then your local administrator will need to point the records to the correct location.

However after doing these tests (the test of the KMS LDAP Service is fine, the OpenLDAP works and the PTR records are correct) and running the Auto-Config tool still does not work, then please follow the steps below to enable logging, open a new ticket with the Kerio Technical Support Team and send us the logs in the ticket you create.

In Terminal application, type the following commands:

touch /Library/Preferences/DirectoryService/.DSLogDebugAtStart

sudo killall DirectoryService

  1. Inspect Directory Service extended debug log:


  1. Inspect Directory Service standard debug log:


  1. Rule out the problem from Directory Service logs and Kerio MailServer logs.
  2. To disable Directory Service extended logging, run:

rm /Library/Preferences/DirectoryService/.DSLogDebugAtStart

sudo killall DirectoryService