Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Mac OS X > Mac OS X 10.7 Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 12, 2011, 02:52 PM   #1
Glenndk
macrumors newbie
 
Join Date: Aug 2011
Lion: Connecting to legacy AFP services - and Mac OS X (server)

After upgrading to MacOS X Lion, it was discovered that it was not possible to logon to Novell-shares and NAS-boxes (e.g. Qnap).

Here is a recipe that has been tested OK with the following combinations:
* Mac OS X Lion -> Novell shares
* Mac OS X Lion -> Mac OS X 10.5 server
* Mac OS X Lion -> Mac OS X Lion
* Mac OS X Lion -> Qnap (NAS via AFP)

Please note that the command-lines themselves must not have CR/NL-characters. Copy the commands to a text-editor and remove format-inserted CR/NL-characters.

Another note: Your logon will be less secure with these changes. Later when e.g. Novell and/or your NAS-box support native Lion-logon, then please remove the AppleShareClient-parameter changes again with the first block.

-

Recipe:

The following block can be skipped if you have not previously changed AppleShareClient-parameters.
In the terminal.app the following commands are applied:

Code:
sudo -s
chmod o+w /Library/Preferences
cd  /Library/Preferences/
rm com.apple.AppleShareClient.plist*
! Restart
The following block makes it possible to logon to: (1) Novell-shares (2) Pre Lion Mac-OS-X-volumes - and possibly non-native Lion logon NAS-shares:

Code:
sudo -s
chmod o+w /Library/Preferences
defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1
! Restart
You now (might) have to logon a real account (non-guest) on another Mac OS X Lion volume
to catalyst a creation of AppleShareClient-files. (See Apple-support-link) (Is this necessary?)

Code:
chmod o+w /Library/Preferences
defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array "Cleartxt Passwrd" "MS2.0" "2-Way Randnum exchange"
defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array "DHX2"
defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array "DHCAST128"

chmod o-w /Library/Preferences
PS:

Possibly all volume-links may be deletes and recreated to use the new logon-parameters?

-

Sources for command-bricks:

OS X Lion: Connecting to legacy AFP services:
http://support.apple.com/kb/HT4700

AFP changes in OSX Lion:
http://www.novell.com/communities/no...anges-osx-lion

AFP support for DHX2 authentication mechanism on OES:
http://www.novell.com/support/search...eID=DT_TID_1_1

-

Example:

Code:
bash-3.2# chmod o+w /Library/Preferences
bash-3.2# cd  /Library/Preferences/
bash-3.2# rm /Library/Preferences/com.apple.AppleShareClient.plist*
bash-3.2# chmod o-w /Library/Preferences
bash-3.2#
! Restart
Last login: Fri Aug 12 14:41:58 on console
$ sudo -s
Password:
bash-3.2# chmod o+w /Library/Preferences
bash-3.2# defaults read /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams
2011-08-12 14:42:31.172 defaults[188:707]
The domain/default pair of (com.apple.AppleShareClient, afp_disabled_uams) does not exist
bash-3.2#
! Restart
Last login: Fri Aug 12 14:47:31 on console
$ sudo -s
Password:
bash-3.2# chmod o+w /Library/Preferences
bash-3.2# defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array "Cleartxt Passwrd" "MS2.0" "2-Way Randnum exchange"
bash-3.2# defaults read /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams(
    "Cleartxt Passwrd",
    "MS2.0",
    "2-Way Randnum exchange"
)
bash-3.2# defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array "DHX2"
bash-3.2# defaults read /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams
(
    DHX2
)
bash-3.2# defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array "DHCAST128"
bash-3.2# defaults read /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams
(
    DHCAST128
)
bash-3.2# chmod o-w /Library/Preferences
bash-3.2#
Also submitted here:

Lion: Connecting to legacy AFP services - and Mac OS X (server)
http://forum.qnap.com/viewtopic.php?f=30&t=48143
https://discussions.apple.com/thread/3258472

Last edited by Glenndk; Aug 14, 2011 at 06:47 AM.
Glenndk is offline   0 Reply With Quote
Old Jan 12, 2012, 03:27 PM   #2
CustomShoebox
macrumors newbie
 
Join Date: Jan 2012
Lion: Connecting to legacy AFP servers

I work at a University where we support primarily Windows machines. We have some Mac machines, primarily in the Art and Music departments. We run Snow Leopard and some Leopard. We just purchased a new iMac and a replacement Mac Book Pro - both with Lion. We would prefer to stay with Snow Leopard for the rest of this year - but not sure that is an option. Also we use Novell for our network; and I have read and studied this post - on this forum and via Google.

I am attempting to access a server using the "Go" command in Finder. If i use a Mac Mini with 10.6.8, I have no problems. But Lion is not so cooperative.

So far, I cannot get this to work. I am using root and follow the steps but each time I still get the same error. When I tried to run this command:
rm com.apple.AppleShareClient.plist*

the system could not find this file. I did remove the first "apple." and could run the command. But I can not still run the program.

I have drilled down to the Preferences and cannot find a file named
com.apple.AppleShareClient.plist* or
com.AppleShareClient.plist*

Can someone give me any idea what I need to do? Or tell me if I am doing something wrong.

Thank you very much.
CustomShoebox is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac OS X > Mac OS X 10.7 Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Make Mac OS Forget Server alexanderl Mac OS X 1 May 3, 2012 03:43 AM
Resolved: Any good kids games to run on an iMac G3 running Mac OS 10.1-10.4? alexreich PowerPC Macs 10 Feb 10, 2012 02:09 AM
Why does Mac OS say 3 users are connected to my shares? I'm the only one connected? alexreich Mac OS X Server, Xserve, and Networking 7 Oct 2, 2011 02:16 PM
Resolved: Solution to make scanner work with Canon Pixma MP568 and Mac OS X 10.6.7 Suketa Mac Peripherals 0 Jul 14, 2011 12:50 PM
how to disable default screen capturing in mac os x Monaj Mac OS X 1 Mar 16, 2011 12:53 AM


All times are GMT -5. The time now is 12:50 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC