Cool Solutions

AFP changes in OSX Lion



By:

July 26, 2011 11:43 am

Reads:23,787

Comments:7

Score:5

Anyone experienced problems connecting to OES2 or NetWare via AFP since upgrading to OSX Lion?

Here’s the solution:

Because Apple changed the AFP version from v1 to v2, there are no connections possible through AFP from Mac to OES2 Linux nor NetWare…

  1. Open up a Terminal on your Mac and make /Library/Preferences writable:
    sudo chmod o+w /Library/Preferences
  2. Switch back your Lion to AFP v1:
    defaults write /Library/Preferences/com.apple.AppleShareClient 
    afp_host_prefs_version -int 1
  3. Reboot your Mac !! (this is necessary just one time)
  4. Try to connect to your Server again. It may still fail.
  5. Open up a Terminal again and type:
    sudo defaults write /Library/Preferences/com.apple.AppleShareClient  
    afp_disabled_uams -array "Cleartxt Passwrd" "MS2.0" "2-Way
    Randnum exchange"
  6. Now the AFP connections should work…
  7. Change back rights to /Library/Preferences/ with:
    sudo chmod o-w /Library/Preferences
1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...

Tags:
Categories: NetWare, Open Enterprise Server, Technical

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

7 Comments

  1. By:jlodom

    The new version of AFP is actually 3.3, and I believe OES is only supporting 3.1 or 3.2 (I think Netware supports 3.1).

    A full Apple support document on the changes can be found at the link below. It also includes information on how to exclude certain password hashing methods (for full compatibility with Netware and OES, I would just disable ClearText and let all of the others through).

    http://support.apple.com/kb/HT4700

  2. By:smflood

    First of all Apple have published their own support document @ http://support.apple.com/kb/HT4700 and Novell are currently working on a support TID.

    Now to correct some of the above article – with Mac OS X Lion (10.7) Apple have moved to AFP version 3.2 (not v2) but NetWare and OES2 only currently support AFP version 3.1 (not v1).

  3. By:smflood

    Novell have now published TID 7008683 with advice to disable the DHX2 UAM.

  4. By:joharmon

    For those new to MACs, like me, the commands outlined above will not work if you copy and paste them as the copy and paste will include a carriage return. Remove the carriage returns from a copy and paste and then the commands will work (they are single-line commands).

    Might be obvious to others, but it delayed me for 30 seconds or so. Posted this in hopes others find it useful.

  5. By:leahy_phil

    I’ve tried changing the Apple Share Client.plist for Lion as shown below, but it still does not
    work

    defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1

    defaults write /Library/Preferences/com.apple.AppleShareClient
    afp_disabled_uams -array “Cleartxt Passwrd” “DHX2″ “MS2.0″ “2-Way Randnum exchange”

    The Kanaka plug-in works great on Snow Leopard. Any ideas on what
    needs to be modified in Lion to make the new Kanaka plug-in work correctly?

Comment

RSS