Open Directory error explanations.
So I was helping someone out who was having a mysterious error in Workgroup Manager, and they were surprised when I showed them how to find what the actual error code meant.
man DirectoryService
has a nice description of them towards the bottom:
ERRORS
From <DirectoryService/DirServiceTypes.h>
eDSNoErr = 0
eDSOpenFailed = -14000
eDSCloseFailed = -14001
eDSOpenNodeFailed = -14002
etc etc. Yes, it would be nice if Workgroup Manager actually had the slightly more descriptive name appear rather than the numeric code, wouldn't it? :)