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

LDAP Commands

There are two sets of LDAP-related commands in the Solaris system. One set is the general LDAP tools, which do not require the client to be configured with LDAP naming services. 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. The following tools support a common text-based format for representing directory information called the LDAP Data Interchange Format (LDIF). These commands can be used to manipulate directory entries directly.





LDAP Tools Requiring LDAP Naming Services

Table 14–3 LDAP Tools




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.


Used to list contents of various services from the directory. 


Used to set up Sun Java System Directory Server to serve LDAP naming service clients.