Spacer http://macenterprise.org MacResource.org - Mac OS X enterprise deployment project Spacer
Site Map Contact Us Top Background
 
Search
 
 
Enabling Directory Service plug-ins from the command line E-mail
Written by MacEnterprise mailing list   
Friday, 09 March 2007
A frequent question is how to enable Directory Service plug-ins from the command line.  How can this be accomplished?

Most frequently, this question comes up in the context of enabling the Active Directory plug-in.  However, any of the Directory Service plug-ins can be enabled in a similar fashion.  Here's how:

 

defaults write /Library/Preferences/DirectoryService/DirectoryService "[plug-in name]" "Active"
 

Substitute the plug-in name above to enable the plug-in in Directory Services.  Once finished, kill the Directory Service process:

killall DirectoryService
 

Wait 5 seconds for the Directory Service to restart.  After this it will be possible to create Search and Contact preferences from the command line. 

Last Updated ( Thursday, 03 January 2008 )
 
< Prev   Next >