Lightweight Directory Access Protocol
Sites
Documentation
LDAP-related RFCs
LDAP authentication
What is a Directory?
A directory is a listing of information about objects
arranged in some order that gives details about each
object. Common examples are a city telephone directory
and a library card catalog.
Most common symbols
- C
- countryname
- DC
- Domain Component
- ST
- StateOrProvinceName
- O
- OrganizationName
- DN
- distinguished name, name that identifies a record
In any entry's DN, the leftmost component is called the relative distinguished name (RDN).
- CN
- common name
- OU
- Organizational UnitName
- SN
- surname
Many more have been specified in slapd.oc.conf
check directory:
ldapsearch -s base -b cn=monitor 'objectclass=*'
retrieve entries:
ldapseach -b "o=MYORG, c=US" "objectclass=*"
ldap://croky/dc=foobar,dc=com??sub?cn=U8