Chapter 14 Working With Open Directory 159
NetInfo
Configuring NetInfo
You can use the following command-line utilities to manage the NetInfo directory. For
more information about a utility, see the related man page.
For example, you can use the NeST -setprotocols command to specify which
authentication methods the server’s Open Directory Password Server uses.
Password Server
Working With the Password Server
You can use the mkpassdb utility to create, modify, or back up the password database
used by the Mac OS X Server Password Server. For more information, type man
mkpassdb
to read the man page.
Viewing or Changing Password Policies
You can use the pwpolicy command to view or change the authentication policies
used by the Mac OS X Server Password Server. For more information, type man
pwpolicy
to see the man page.
Enabling or Disabling Authentication Methods
All password authentication methods supported by Open Directory Password Server
are initially enabled. You can disable and enable Open Directory Password Server
authentication methods by using the NeST tool.
To see a list of available methods:
$ NeST -getprotocols
To disable or enable a method:
$ NeST -setprotocols protocol (on|off)
Utility Used to
NeST Configure the directory system of a server.
nicl Create, view, and modify entries in the NetInfo directory.
nifind Search the NetInfo directory for a particular entry.
nigrep Search the NetInfo directory for an expression.
nidump Export NetInfo data to text or flat files.
niload Import flat files into the NetInfo directory.
nireport Print tables of NetInfo directory entries.
Parameter Description
protocol
Any of the protocol names listed by NeST -getprotocols (for
example, SMB-LAN-MANAGER).
LL2354.book Page 159 Monday, October 20, 2003 9:47 AM