Specifications

254 Chapter 15 Configuring and Managing Open Directory
Using General Directory Tools
This section describes how to test Open Directory configurations, modify Open
Directory directory domains, and test Open Directory plug-ins.
Testing Your Open Directory Configuration
To test your directory services configuration, use the dscl tool. For more information,
see the dscl man page.
Modifying a Directory Domain
To create, modify, or delete directory information in a directory domain, use the dscl
tool.
Testing Open Directory Plug-ins
To check the performance of protocol-specific plug-ins used by Open Directory,
use the dsperfmonitor tool. It can list the API calls being made to plug-ins, how long
the plug-ins take to reply, and recent API call errors. For more information, see the
dsperfmonitor man page.
Directory services API support is provided by the DirectoryService daemon. For more
information, see the DirectoryService man page.
For information about the data types used by directory services, see the
DirectoryServiceAttributes man page.
Finally, for information about the internals of Open Directory and its plug-ins, including
source code you can examine or adopt, click the Open Directory link at
www.apple.com/darwin.
Changing Open Directory Service Settings
To change settings for the Open Directory service, use the following parameters with
the serveradmin tool. Be sure to add dirserv: to the beginning of any parameter you
use.
To see the role the server is playing in the directory hierarchy:
$ sudo serveradmin settings dirserv:<parameter>
Parameter Description
replicationUnits Default =
"days"
replicaLastUpdate Default = ""
LDAPSettings:LDAPDataBasePath Default = ""
replicationPeriod Default = 4
LDAPSettings:LDAPSearchBase Default = ""