fixed typos in ldap_sync_check