I had DNS trouble which was causing delays for Open Directory users logging in from the GUI on their macs.

I've fixed the DNS problems and the delay still remains.

Is there a way to restart, or start/stop, the Open Directory service (or just the Kerberos part) without restarting the server?

Thanks!!

link|improve this question
feedback

2 Answers

You need to check status of your OD using changeip command.

$ sudo changeip -checkhostname

If it reports any problem, backup your OD using Server Admin and follow the result from the command above

link|improve this answer
feedback

To stop/start Open Directory:

sudo launchctl unload /System/Library/LaunchDaemons/org.openldap.slapd.plist
sudo launchctl load /System/Library/LaunchDaemons/org.openldap.slapd.plist

To stop/start Kerberos:

sudo launchctl unload /System/Library/LaunchDaemons/edu.mit.Kerberos.kadmind.plist
sudo launchctl unload /System/Library/LaunchDaemons/edu.mit.Kerberos.krb5kdc.plist
sudo launchctl load /System/Library/LaunchDaemons/edu.mit.Kerberos.kadmind.plist
sudo launchctl load /System/Library/LaunchDaemons/edu.mit.Kerberos.krb5kdc.plist

Note these are 10.6.x specific commands. They're slightly different for versions above and below.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.