Retired Document
Important: Support for DirectoryService plug-ins has been deprecated and will be removed in a future release.
A new architecture was introduced in OS X v10.9 to allow the creation of native Open Directory modules. Unlike DirectoryService, opendirectoryd
uses modules implemented as a standalone process that uses XPC to communicate with opendirectoryd
. Implementing a module as an XPC service ensures a private address space and improves security and reliability, because modules cannot crash another module or opendirectoryd
.
Open Directory Callbacks
Open Directory provides three callback routines for plug-ins to call:
DSDebugLog
. Writes an entry in the Open Directory log file. All records written by all Open Directory plug-ins are written to the same log file in the order by which Open Directory receives them.DSRegisterNode
. Registers a node so that it is available for use by applications that make Open Directory calls.DSUnregisterNode
. Unregisters a node that was previously registered.
The Open Directory callback routines are described in detail in the section Open Directory Callbacks” in the Reference section.
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-03-09