Since the 10.5.1 update was released, lots of people are complaining
that the DirectoryService process has 100%(less or even more
than that) CPU usage after some kind of event.
The easy way to fix this is to copy /usr/sbin/DirectoryService from 10.5.0
and repair the permissions after this operation is completed.
Let’s say you have the original 10.5.0 DirectoryService executable,
you need just a few commands to apply the fix:
cp /Users/youruser/DirectoryService /usr/sbin/DirectoryService
diskutil repairPermissions /
1 replace /Users/youruser/DirectoryService with the path to the 10.5.0
2 if you don’t know where to get that file from, you can find it on the LEO install DVD
in the usr/sbin directory