cheastsheet:ldap

LDAP

  • 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)"
  • cheastsheet/ldap.txt
  • Last modified: 2024/10/14 20:59
  • by 127.0.0.1