Tiny Deathstars of Foulness

Netatalk seems to always have some issue with OS X. Why I still use little NAS boxes for this that and the other is beyond me. I got stuck dealing with this for a little while and if you’re using Netatalk w/ a DHCAST128 UAM you probably will too. For more on DHCAST see the Netatalk page on UAM support. Kerberos and DHX2 are arguably better, but I’ve found they don’t always work right on some of my NAS boxes. This wasn’t just a quick defaults command as it was in previous instances. It’s not much of a script but the following should fix it if you’re having this issue like I was. /usr/bin/defaults write /Library/Preferences/ afp_host_prefs_version -int 1 /bin/sleep 60 /usr/bin/defaults write /Library/Preferences/ afp_disabled_uams -array “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange” I had to reboot on one of my machines after this but on the others I didn’t. Hope it helps someone else… And if you want to go back to the way things were before, simply remove com.AppleShareClient.plist from /Library/Preferences (w/ sudo): rm /Library/Preferences/

July 21st, 2011

Posted In: Mac OS X, Mac Security

Tags: , , , , , , ,

  • david

    I know its my own damn fault for not having made a backup, but could your please tell me how to restore the settings to the state they were *before* applying your alterations.

    I’ve been able to update netatalk and I’d like to go back to the original settings.

    Thank you for your suggestion and help

    • I added a little command at the end of the article that will reset those settings that we created. Since the plist didn’t exist before we started, just doing an rm or a trash of it and restarting should just reset you back to the way things were.

  • Pingback: Lion: Connecting to legacy AFP services – and Mac OS X (server) | iPhone 4()