/usr/bin/odutil
Use odutil to look at internal state information for opendirectoryd, enable or disable logging, or change statistics settings.