LDAP creation fails with 'Invalid DN syntax'
Applies to
- ONTAP 9
- LDAP
Issue
- Create LDAP using config fails.
Example:
vserver services name-service ldap create -vserver SVM1 -client-config ldapconfig1 Error: command failed: Base DN specified in the LDAP client configuration is not available. Reason:"LDAP Error: The distinguished name has an invalid syntax".
- The following error is seen in
secd.log
.
ERR : RESULT_ERROR_LDAPSERVER_INVALID_DN_SYNTAX:7623 in searchLdap() at src/utils/secd_ldap_utils.cpp:406
ERR : searchLdap: LDAP Error: (34): 'Invalid DN syntax':
ERR : DN(abc.def.xx.yy) configured for GetUserInfoFromName is not working, ldapsearch failed with Ldap error(34)