Command and Tool Reference

NIS+ to LDAP Migration Scripts

ldapsearch

You use the ldapsearch command-line utility to locate and retrieve LDAP directory entries. This utility opens a connection to the specified server using the specified distinguished name and password, and locates entries based on the specified search filter. Search results are returned in LDIF format. For details, see the Netscape Directory Server for HP-UX Administrator’s Guide available at http://docs.hp.com/hpux/internet.

ldapmodify

You use the ldapmodify command-line utility to modify entries in an existing LDAP directory. ldapmodify opens a connection to the specified server using the distinguished name and password you supply, and modifies the entries based on the LDIF update statements contained in a specified file. Because ldapmodify uses LDIF update statements, ldapmodify can do everything ldapdelete can do. For details, see the Netscape Directory Server for HP-UX Administrator’s Guide available at http://docs.hp.com/hpux/internet.

ldapdelete

You use the ldapdelete command-line utility to delete entries from an existing LDAP directory. ldapdelete opens a connection to the specified server using the distinguished name and password you provide, and deletes the entry or entries. For details, see the Netscape Directory Server for HP-UX Administrator’s Guide available at http://docs.hp.com/hpux/internet.

NIS+ to LDAP Migration Scripts

HP recommends that NIS+ database files are migrated to the Netscape Directory Server. The LDAP-UX Integration product B.04.00 provides NIS+ to LDAP migration scripts to accomplish the task in an automated way.

This section describes the shell and perl scripts you use to migrate your NIS+ data from the NIS+ server to your LDAP directory. These scripts are found in /opt/ldapux/migrate/nisplusmigration. The shell

44

Chapter 3