Created
August 27, 2021 07:56
-
-
Save peterkowalski/b4dbdcef1f8a3f825e870ae232c657e0 to your computer and use it in GitHub Desktop.
[LDAP search] LDAP search one-liner with user authentication #ldap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldapsearch -D "uid=USER_UID,ou=USER_OU1,ou=USER_OU2,o=USER_O" -x -b "o=SEARCH_O" -H ldaps://myldap.example.com -z 5 -l 1 -W |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment