Article

Imagen de mebert2
article
Reads:

%count lecturas

Score:
5
5
1
 
Comments:

7

AFP changes in OSX Lion

Author Info

26 July 2011 - 10:43am
Submitted by: mebert2

(View Disclaimer)

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 /Libray/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

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

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, test, test before you do anything drastic with it.




User Comments

Imagen de jlodom

A Minor Correction and a Support Link

Submitted by jlodom on 26 July 2011 - 2:59pm.

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

Imagen de smflood

A possible solution but incorrect background info

Submitted by smflood on 27 July 2011 - 2:56am.

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

Imagen de mebert2

A possible solution but incorrect background info

Submitted by mebert2 on 28 July 2011 - 3:33am.

well, sorry for wrong background (version) info. I forgot the 3. stuff on there :-)

Imagen de smflood

TID 7008683

Submitted by smflood on 27 July 2011 - 9:06am.

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

Imagen de joharmon

For those new to MAC

Submitted by joharmon on 29 August 2011 - 12:58pm.

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.

Imagen de leahy_phil

Lion AFP & Kanaka Plug-In for OES

Submitted by leahy_phil on 25 January 2012 - 8:26am.

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?

Imagen de smflood

Kanaka support

Submitted by smflood on 25 January 2012 - 10:31am.

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 http://forums.novell.com/novell/novell-product-dis... whilst there's also http://forums.novell.com/novell/novell-product-dis... 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.

© 2013 Novell