LDAP internal api is done