LDAP

LDAP terminology : 
 * entry (object) - one unit in an LDAP directory. Each entry is qualified by its distinguished name(DN). Here's an example: dn: uid:kpietras,ou=sales,dc=example,dc=com
 * attributes - These are pieces of information associated with an entry, such as an organization's address or employess' phone numbers
 * objectClass - This is a special type of attribute. All objects in LDAP must have an objectClass attribute. The objectClass definition specifies which attributes are required for each LDAP object, and it specifies the object classes of an entry. The values of this attribute may be modified by clients, but the objectClass attribute itself cannot be removed. The objectClass definitions are themselves stored in schema files.
 * schema - A collection of rules that determines the structure and contents of the directory. The schema contains the attribute type definitions, objectClass definition and other information.
 * LDIF - It is a plain-text for LDAP entries. Files used for importing or exporting data to and from an LDAP server should be in this format. The data used for replication among LDAP servers are also in this format.

LDAP operations:
 * ldapadd -x -D "cn=manager,dc=example,dc=org" -W -f sample.ldif
 * -x - indicated simple authentication
 * -D - specifies the dn name with which to bind to LDAP directory
 * -W - allows the user to be prompted for the simple authentication password
 * -f  - specyfies the file from which read the LDIF file
 * ldapsearch -x -b 'dc=example,dc=com' '(objectClass=*)'
 * ldapsearch -x -LLL '(objectclass=*)
 * ldapdelete -x -W -D 'cn=Manager,dc=example,dc=org' 'cn=bogus,dc=example,dc=org'