System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

General LDAP Tools

LDAP command line tools support a common set of options, including authentication and bind parameters.

These commands can be used to manipulate directory entries directly. The ldapsearch, ldapadd, and ldapmodify tools support a common text-based format for representing directory information called the LDAP Data Interchange Format (LDIF).

Table 18–3 LDAP Tools

Tool 

Function 

ldapsearch(1)

Use to search for directory entries in the namespace. Displays attributes and values found. 

ldapmodify(1)

Use to modify, or add directory entry. 

ldapadd(1)

Use to add new directory entry. 

ldapdelete(1)

Use to delete existing directory entry.