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

LDAP Commands

There are two sets of LDAP-related commands in Solaris. One set is the general LDAP tools, which do not require the client to be configured with the LDAP naming service. The second set uses the common LDAP configuration on the client and therefore can only be used if the client is configured to use LDAP as its naming service.

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(1), ldapmodify(1), ldapadd(1), and ldapdelete(1) tools support a common text-based format for representing directory information called the LDAP Data Interchange Format (LDIF).

LDAP Tools Requiring LDAP Naming Services

Table 18–3 Tools (From Section 1 Man Pages)

Tool 

Function 

ldapaddent(1M)

Used to create entries in LDAP containers from the corresponding /etc files. This tool allows populating the directory from files. For example, it reads /etc/passwd format file and populates passwd entries in the directory.

ldaplist(1)

Used to list contents of various services from the directory. 

idsconfig(1M)

Used to set up iPlanet Directory Server 5.1 to serve LDAP naming service clients.