When connecting to AFP shares in the new Mac OS X 10.5 (Leopard), you may get a -5002 error when the server only supports clear text passwords. To resolve, either disable clear text passwords on the server side, or change the following plist:
~/Library/Preferences/com.apple.AppleShareClient.plist
You need to change the afp_cleartext_allow value to “Yes” “true” or “1” (depending on the current values you see, either “false” or a “0”).
Here’s an excerpt from my file:
...
<key>afp_cleartext_allow</key>
<true />
<key>afp_cleartext_warn</key>
<integer>0</integer>
<key>afp_default_name</key>
<string></string>
...
i tried this,, but it did not work. when i went into the plist it did not even have afp_cleartext_allow, so i created it, but it did not work
Make sure you are changing the one in your home directory (notice the ~ in front of Library).
That was it thanks so much. i really had no idea ~ meant home dir. i thought it meant root.
I am not sure my last swubmit took.
But that works!!!
THANKS!
Steven,
This has been incredibly helpful. I used Night Production’s Pref Setter and it worked beautifully.
However, now when I am connecting to my site, I get an additional error that prevents me from getting connected.
I get the error:
_____
A volume failed to mount.
The volume “Home Directory†could not be mounted.
_____
Do you have any suggestions?
I haven’t run into that error – if you are using automounts, then it is probably an issue with a computer-wide preference and not the local user preference. I have not figured out a way to enable clear text passwords for the entire OS (just user by user).
A better solution would be to enable encrypted passwords on your AFP server. We are in the process of updating our AFP server to accept encrypted passwords to get around these issues.
Hey guys I just wanted to let you know that if you don’t have the developer tools to make the change to the aforementioned file, here’s a link to download a script that fixed the cleartext problem for me:
http://macstuff.beachdogs.org/blog/?p=39
This is not a plug for that website, I am not affiliated with them or anything, but I had the same problem and found that I couldnt edit the file myself, so this was my best option. hope it helps someone else!
Thanks for the great tip.. It taught me about personal property files and property editor too..