1
This command works and give me back a large response with all sorts of information about user with user ID XXXXXXX.
ldapsearch -D 'uid=<system ID>,ou=system,ou=users,dc=<domain>,dc=com' -x -H '<ldap server address>' -w '<system ID password> -b 'ou=users,dc=<domain>,dc=com' 'uid=XXXXXXX'
However I was told to first bind with the system ID, and then "rebind" with the user's UID/password to check if that user can be authorized.
Is this possible with the ldapsearch command? Maybe it's possible to just use the user's ID/password to bind instead of the initial bind with System ID/password?
EDIT: I think section 2.4.3.3 is what I am trying to convey.
Yup that worked... after looking at your suggestion and the output of the first LDAP search with system ID, I realized that I was missing an additional OU for the user. Now I can do it with just one call/user ID and User password. Makes a lot more sense now... – kittyboo – 2019-07-04T17:33:02.560