The JFrog Platform / Artifactory performs a search to find the user and obtain the user's DN. The search request is built according to the provided configuration in the LDAP Settings.
1. From the following output, you can see that LDAP User Search returned with 1 result since the user is present in Active Directory. In packet number 2 we see the user DN.
1 10.132.0.88 10.166.0.2 LDAP 134 searchRequest(16) "ou=Users,dc=test,dc=com" wholeSubtree
2 10.166.0.2 10.132.0.88 LDAP 398 searchResEntry(16) "cn=Valeriy Petrov,ou=Users,dc=test,dc=com"
3 10.166.0.2 10.132.0.88 LDAP 82 searchResDone(16) success [1 result]
User Search request for “valeriyp” in WireShark (Packet 1):
User Search response (Packet 2):
2. The following example shows a search that did not match any user in Active Directory.
User Search request for “test”, the user “test” is not found in AD, returned “0 results”:
1 10.132.0.88 10.166.0.2 LDAP 130 searchRequest(7) "ou=Users,dc=test,dc=com" wholeSubtree
2 10.166.0.2 10.132.0.88 LDAP 82 searchResDone(7) success [0 results]
Request (Packet 1):
Response (Packet 2):