Fixing AFP support to older servers

Discussion in 'Mac OS X Lion (10.7)' started by ginkaninka, Jul 23, 2011.

  1. ginkaninka macrumors newbie

    Joined:
    Jul 23, 2011
    #1
    This post may prove useful to some:
    http://www.alexanderwilde.com/2011/04/os-x-lion-connection-error-with-afp-and-workaround/

    I have tested this to allow connection to Netware 6.5 servers running AFP 3.1, Windows 2008R2 servers running ExtremeZ-IP (AFP 3.2) and my home NAS box.

    In summary:
    1) Launch /Applications/Utilities/Terminal and do:
    Code:
    sudo chmod o+w /Library/Preferences
    defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1
    Now restart your computer.
    2) From Finder, select an AFP server, or use “Connect To…”. This will cause the AFP Client to create the full preferences file
    3) Launch Terminal again and do:
    Code:
    sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange”
    Code:
    sudo chmod o-w /Library/Preferences
    
    Now restart your computer.

    Note: To add a “DHCAST128″ to the disable list, use
    sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array-add “DHCAST128″
     
  2. djrbx macrumors member

    Joined:
    Jul 12, 2011
    Location:
    North Hollywood, CA
    #2
    Just a heads up to people, this does not fix TimeMachine if your NAS device supports it. You'll have to wait for an upgraded firmware fix from the manufacturer of your NAS device to use TimeMachine.
     
  3. tdar macrumors 6502a

    Joined:
    Jun 23, 2003
    Location:
    On the Space Coast
    #3
    + also remember that the only NAS's that will be fixed are those running linux.
    And only at vender discretion.
     
  4. Eric8199 macrumors 6502a

    Joined:
    Feb 27, 2009
    #4
    Thank you SO MUCH for this. Wasn't sure I was going to be able to access my work server on my personal computer anymore. Thank you!
     
  5. Takuro macrumors 6502

    Takuro

    Joined:
    Jun 15, 2009
    #5
    This is pretty odd, but an official Apple support document now actually lists this hack. Now that this confirms that Apple is aware of the issue, I wonder why they don't make it easier to enable compatibility with older AFP servers (such as providing a small warning message the first time you connect.)

    http://support.apple.com/kb/HT4700
     
  6. Glenndk macrumors newbie

    Joined:
    Aug 12, 2011
    #6

Share This Page