252

Modifying a Directory Domain

You can use the dscl tool to create, modify, or delete directory information in a directory domain.

Testing Open Directory Plug-ins

You can use the dsperfmonitor tool to check the performance of the protocol-specific plug-ins used by Open Directory. It can list the API calls being made to plug-ins, how long the plug-ins take to reply, and recent API call errors. See the dsperfmonitor man page for more information.

Directory services API support is provided by the DirectoryService daemon. See the DirectoryService man page for more information.

See the DirectoryServiceAttributes man page for information about the data types used by directory services.

Finally, for information about the internals of Open Directory and its plug-ins, including source code you can examine or adopt, follow the Open Directory link at www.apple.com/darwin/.

Registering URLs with SLP

You can use the slp_reg tool to register service URLs using the Service Location Protocol (SLP). See the slp_reg man page for more information.

SLP registration is handled by the SLP daemon slpd. See the slpd man page for more information.

Changing Open Directory Service Settings

Use the following parameters with the serveradmin tool to change settings for the Open Directory service. Be sure to add dirserv: to the beginning of any parameter you use.

To see the role that the server is playing in the directory hierarchy:

$ sudo serveradmin settings dirserv:LDAPServerType

Parameter (dirserv:)

Description

replicationUnits

Default = "days"

 

 

replicaLastUpdate

Default = ""

 

 

LDAPDataBasePath

Default = ""

 

 

replicationPeriod

Default = 4

 

 

LDAPSearchBase

Default = ""

 

 

Chapter 15 Working with Open Directory

Page 252
Image 252
Apple Mac OS X Server manual Modifying a Directory Domain, Testing Open Directory Plug-ins, Registering URLs with SLP