fix ldap option