Online Remote Backup with Mozy Leopard’s SSH Agent not working
Oct 26

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

written by eppler

8 Responses to “Leopard Error -5002 when connecting to AFP shares”

  1. todd Says:

    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

  2. eppler Says:

    Make sure you are changing the one in your home directory (notice the ~ in front of Library).

  3. todd Says:

    That was it thanks so much. i really had no idea ~ meant home dir. i thought it meant root.

  4. todd Says:

    I am not sure my last swubmit took.
    But that works!!!
    THANKS!

  5. David Says:

    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?

  6. eppler Says:

    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.

  7. Paul Jaworski Says:

    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!

  8. Manu Anand Says:

    Thanks for the great tip.. It taught me about personal property files and property editor too..

Leave a Reply