Created
November 29, 2019 10:01
-
-
Save astaykov/fd1c97fcc076ec3178fa09a7352b1281 to your computer and use it in GitHub Desktop.
LDAP queries
This file contains 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
// basically gets all data about organization | |
ldapsearch -x -h fqdn.of.the.domain -D "upn" -w "password" -b 'dc=idcxp,dc=site' | |
// get data about single user object | |
// make sure you get the DN correct | |
ldapsearch -x -h fqdn.of.the.domain -D "upn" -w "password" -b 'CN=bdm-user bdmou,OU=AADDC Users,DC=idcxp,DC=site' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment