An Acronym for Lightweight Directory Access Protocol.
A Protocol for accessing hierarchical data. Kinda like SQL except it has "fixed" schemata (you can define your own, but not quite as easily as you do in SQL) and it's for HierarchicalDataBases rather than RelationalDataBases. It is often used for directories, so LDAP implementations are commonly optimised for reading much more than for modifying/inserting data.
ldapsearch -x -h ldapservername -B binddn -W -b basedn
This can often be simplified and defaults provided in /etc/ldap/ldap.conf or /etc/openldap/ldap.conf
|Short name||Long name||Use|
|cn||commonName||A common ("readable") name of a resource|
|ou||organisationalUnit||Some unit (or grouping).|