Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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!!

share|improve this question

2 Answers 2

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

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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