Specifications

Chapter 8 Maintenance and Problem Solving 121
8 Type the following command and press Return.
mkpassdb -mergedb backup folder pathname
This use of mkpassdb adds all of the passwords from the Open Directory Password
Server backup folder, located at backup folder pathname, into the server’s existing
Open Directory Password Server database. (The server has an existing Open Directory
Password Server for its local directory domain.)
9 Type the following command and press Return:
/System/Library/StartupItems/LDAP/LDAP start
This command starts the LDAP server.
10 If you want to restore the local NetInfo directory domain, type the following command
and press Return:
niload -r / . < local.dump
This use of niload loads the entire contents of the local NetInfo domain from a raw
text file named local.dump.
11 Restore the Library/Preferences/DirectoryService folder from a backup copy and restart
the server, or use Directory Access to configure access to the restored LDAP directory
and add it to a custom search policy.
Files in the Library/Preferences/DirectoryService folder specify the servers search
policies and specify how the server accesses its LDAP directory. The folder may contain
additional files that specify how the server access other directory domains. If you
restore this folder from a backup copy, you need to restart the server so that Open
Directory recognizes the restored search policies and server access configurations.
If you don’t have a backup copy of this folder, use Directory Access to create an LDAPv3
configuration for the loopback IP address (127.0.0.1), and add this to a custom
authentication search policy. For instructions, see “Configuring Access to an LDAP
Directory on page 92 and “Defining Custom Search Policies” on page 89.
Solving Directory Access Problems
Problems accessing directory services during startup can have several causes.
A Delay Occurs During Startup
If Mac OS X or Mac OS X Server experiences a startup delay while a message about
NetInfo, LDAP, or directory services appears above the progress bar, the computer
could be trying to access a NetInfo domain or LDAP directory that is not available on
your network.
Use Directory Access to make sure the NetInfo and LDAP configurations are correct.
Use the Network pane of System Preferences to make sure the computers network
location and other network settings are correct.
Inspect the physical network connection for faults.
LL2352.Book Page 121 Friday, August 22, 2003 3:12 PM