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

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.

ldapsearch(1)

ldapmodify(1)

ldapadd(1)

ldapdelete(1)

LDAP Tools Requiring LDAP Naming Services

Table 14-3 LDAP Tools

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 Sun Java System Directory Server to serve LDAP naming service clients.

Previous Next