LDAP
Search
- Request all LDAP content (exemple with freeIPA):
ldapsearch -h <LDAP_FQDN> -D 'uid=<USERNAME>,cn=users,cn=accounts,dc=domain' -W
- Request AD:
ldapsearch -H ldaps://dc.example.com -x -W -D "user@example.com" -b "dc=example,dc=com" "(sAMAccountName=user)"