1.4. Troubleshooting Directory Services

1.4.1. Directory Services Debug Logs

When you're trying to troubleshoot issues with Directory Services on Mac OS X sometimes the best thing you can do is put the directoryservices daemon into debug mode. To do so, we must send a USR1 signal to the daemon using the following command:

killall -USR1 DirectoryService

By default errors get trapped into this file:

/Library/Logs/DirectoryService/DirectoryService.error.log

But when in debug mode using -USR1, you can see more specific errors here:

/Library/Logs/DirectoryService/DirectoryService.debug.log

You can then use commands such as tail and more in conjunction with grep to isolate issues to specific strings such as ADPlugin. Alternatively, you can enable ...

Get Enterprise Mac Administrator's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.