fix ldap command