Wikis - Page

AFP changes in OSX Lion

0 Likes
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


  • Switch back your Lion to AFP v1:
    defaults write /Library/Preferences/com.apple.AppleShareClient 
    afp_host_prefs_version -int 1


  • Reboot your Mac !! (this is necessary just one time)

  • Try to connect to your Server again. It may still fail.

  • 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"


  • Now the AFP connections should work...

  • Change back rights to /Library/Preferences/ with:
    sudo chmod o-w /Library/Preferences


Tags:

Labels:

How To-Best Practice
Comment List
Parents
  • 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?



  • Firstly we really are getting into support territory here for which Novell's forums would be much more appropriate.

    A forum has been created for Kanaka and is available at forums.novell.com/.../ whilst there's also forums.novell.com/.../ if you have a query about AFP and/or CIFS.

    You haven't said which version of OES you're using but if using OES11 or OES2 SP3 with November 2011 patches installed then you have a version of AFP that supports DHX2 as introduced with OS X Lion. What you might not have is the DHX2 UAM enabled so you need to configure that via AFP in iManager or by editing /etc/opt/novell/afptcpd/afptcpd.conf and setting AUTH_UAM to DHX2.

    If this doesn't resolve your problem then I suggest visiting one of the above support forums and posting a message giving more details.
Comment
  • Firstly we really are getting into support territory here for which Novell's forums would be much more appropriate.

    A forum has been created for Kanaka and is available at forums.novell.com/.../ whilst there's also forums.novell.com/.../ if you have a query about AFP and/or CIFS.

    You haven't said which version of OES you're using but if using OES11 or OES2 SP3 with November 2011 patches installed then you have a version of AFP that supports DHX2 as introduced with OS X Lion. What you might not have is the DHX2 UAM enabled so you need to configure that via AFP in iManager or by editing /etc/opt/novell/afptcpd/afptcpd.conf and setting AUTH_UAM to DHX2.

    If this doesn't resolve your problem then I suggest visiting one of the above support forums and posting a message giving more details.
Children
No Data
Related
Recommended