ldapsearch
´´´bash
-x -> simple authentication
-LLL -> supresses printing of version number and comments
-b -> base DN
ldap -x -LLL -b “C=DE” “(serialNumber=*)” -H ldap://server.example
example search that only returns the specified attributes
ldap -x -LLL -H ldap://ldap.example.com -b “dc=example,dc=com” “(mail=*)” cn mail uid ´´´