ARTIFACTORY: Setting up Okta Group LDAP Settings and Handling Invalid Attribute Syntax Error

ARTIFACTORY: Setting up Okta Group LDAP Settings and Handling Invalid Attribute Syntax Error

AuthorFullName__c
David Shin
articleNumber
000005637
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-21T10:54:30Z
lastModifiedDate
2023-03-21
VersionNumber
1

If you want to set up Okta Group LDAP settings, you can follow these instructions:

  1. Set the Group Member Attribute to uniqueMember.
  2. Set the Group Name Attribute to cn.
  3. In the Filter section, use the following filter: (objectClass=groupofUniqueNames).
  4. Set the Search Base to ou=groups.
  5. Check the Search sub-tree option.
However, if you encounter an LDAP error code 21 - Invalid Attribute Syntax while trying to log in or searching for groups for a specific user in the UI for importing groups, it could be because the user does not belong to any group.
In this case, you need to add the user to a group in Okta and then try the login or group search again.
If the error persists, you can try the following steps:
  1. Check the attribute syntax in Okta for the user and group attributes that you are using.
  2. Ensure that the user is assigned to the correct group in Okta.
  3. Check the LDAP server logs to see if there are any errors or warnings related to the search or login operation.