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

Modifying Default Maps

To update a nondefault map, you must do the following.

  1. Create or edit its corresponding text file.

  2. Build (or rebuild) the new or updated map. There are two ways to build a map.

    • Use the Makefile. Using the Makefile is the preferred method of building a non-default map. If the map has an entry in the Makefile, run make name where name is the name of map you want to build. If the map does not have a Makefile entry, try to create one following the instructions in Modifying and Using the Makefile.

    • Use the /usr/sbin/makedbm program. makedbm(1M) fully describes this command.