The Netscape Directory Server comes with a robust set of command line utilities that you can use to manage the entries in your directory.
 

Command Line Tools 

     
     

    Command line tool Description
    ldapsearch Allows you to search the directory. Returns search results in LDIF format. For details on this tool, see "Finding Directory Entries."
    ldapmodify Allows you to add, delete, modify, or rename entries. All operations are specified using a modified form of LDIF called LDIF update statements. For details on this tool, see "Using ldapmodify."
    ns-slapd Used to start the Directory Server process, to build a directory database from an LDIF file, or to convert an existing database to an LDIF file. For details, see: 
    ldif  Automatically formats LDIF files for you, and creates base 64 encoded attribute values. For details on this tool, see "Base 64 Encoding."
    aclupg Upgrades LDIF formatted with the 1.x access control statements to the 3.0 ACI. See the Directory Server Deployment and Installation Manual for more information.
    Note that the command line tools mentioned here use LDIF or some variation on LDIF. LDIF is the LDAP Data Interchange Format, and it provides a mechanism by which you can describe a directory or a directory entry using flat ASCII data. 

    The LDIF language definition is described in "LDAP Data Interchange Format.
     

Finding the Command Line Tools

    All of the Directory Server's command line utilities are stored in the same location in your installation directory. You can find them in the following directory:
            NSHOME/bin/slapd/server
    where NSHOME is your server installation directory. 
     

Setting Environment Variables

    Before using your command line tools, set your PATH variable to include the location where the Directory Server command line utilities live:

    NSHOME/bin/slapd/server

 

Produced By Netscape Learning.  Copyright © 1998 Netscape Communications, Inc.