You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lion: Connecting to legacy (pre-Lion) 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


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:


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:


sudo -s

chmod o+w /Library/Preferences

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

! Restart


You now 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?)

! instead?:

/bin/sleep 60


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/node/13155/afp-changes-osx-lion


AFP support for DHX2 authentication mechanism on OES:

http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=7008 683&sliceId=1&docTypeID=DT_TID_1_1


"/bin/sleep 60":

Making My NAS Work in Lion:

http://krypted.com/mac-os-x/making-my-nas-work-in-lion/


-


Example:


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 posted here:


Lion: Connecting to legacy (pre-Lion) AFP services - and Mac OS X (server):

http://forum.qnap.com/viewtopic.php?f=30&t=48143

http://forums.macrumors.com/showthread.php?p=13166617

Mac OS X (10.7)

Posted on Aug 12, 2011 1:36 PM

Reply
46 replies

Aug 22, 2011 12:53 AM in response to glenndk

I am obviously in far over my head here, but so far this is the only discussion that has anything to do with connecting old macs (OS9) to Lion macs. We have been running a 10.4 AppleServer and connecting to WinXP, WinVista, OS9 and OSX10.4/5. That machine died, and we have purchased a new 10.7 mini Mac as the new server.
When we try to access it from one of our older OS9 machines, it says the server is running an incompatible AFP, and access is not possible.

Apple has confirmed that even Lion AppleServer does not support OS9, leaving us with FTP or hardwire access only.


Your post suggests that it is possible to rewrite the AFP code for compatibility.


A few questions, if I may:

1. Is this likely to also solve my problem?

2. By doing so, would I make it difficult or impossible to access the 10.7 machine from Win XP/Vista or OSX10.4/5 machines?

Sep 9, 2011 2:43 PM in response to glenndk

If you want to undo the changes to com.apple.AppleShareClient, I don't think you want to delete the whole plist. To only reset the changes made, use:


sudo defaults delete /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams


And then:


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

Oct 4, 2011 8:35 AM in response to Abscate

One solution for the problem is to run Lion Server. I put Lion Server (costs $49) on the machine that was, in fact, the server. This allowed the other Macs in the household to connect and backup to the drives on the server. It was pretty straight forward, but you do have to do some server setup to get it working.


It's also worth noting that the TIme Machine first backup (when it does your whole disk) is very slow - 250GB took a day to finish. I'll say that the Lion Server solution is working, but there is still some protocol wasting a lot of time on the network (which is all Apple in my case.).


The above solution of using iDisk to bridge between Windows and Mac is a good idea and Dropbox will also work. In fact, with iCloud coming and MobilMe going away, Apple techs are suggesting Dropbox. It works great. I think perhaps Windows Live Sync will also do this job, but I get nervous trusting Microsoft with my data. However it can be pretty slow backing up to the cloud, depends of course on your internet connection speed.

Oct 9, 2011 7:27 PM in response to glenndk

I have a Mac OS leopard in an old machine that sits on my "home office" room, which I'll just call "server". It has all media (photos, music, videos) and files that are shared to my MBP and for my wife's MBAir, not to mention iPad, IPhone, and Apple TV, and time machine that runs in this server.

I normally use "share screen" feature to control some activities that run on the server remotely. Before Lion upgrade, it was really straightforward, connect to the ASUS RT-13N wireless, and in seconds the server would appear under shares on the left hand side of finder window. Just click on it and them in share screen and I was controlling the remote server.

After Lion upgrade in my MBP, it stopped working. The server don't appear as a share anymore.

After a long session of troubleshooting, things that I discovered:

- my wife's MBAir still in Snow Leopard and the sharing works as always worked with ASUS wireless;

- if I use a wired connection with ASUS, the share works just fine in my Lion MBP

- if I connect my MBP using a secondary wireless router I have for coverage purposes (D-Link DIR-825) the share works just fine as well


I've tried every possible wireless configuration within ASUS, including copy every advanced setting from the D-Link router, removing security, but nothing worked.


So for me is pretty clear that Lion has an issue with ASUS wireless, and based on all the forums I've been during troubleshooting, probably it is not only with ASUS, but seem a major issue with wireless in Lion.


So Apple, what's the plan?

Nov 15, 2011 11:46 AM in response to mancer70

Hi,

Like all of you, I'm having a nightmare connecting OSX Lion to (in my case) my buffalo Terastation pro TS-1.0TGL/R5.


I've had a ticket open with apple for over 2 weeks and finally got a response from the agent this evening.


We have tried the afp workaround terminal commands I'm sure you've read them as well (http://blog.digidex.co.uk/2011/06/18/os-x-lion-connection-error-with-afp-and-wor karound/) turn on DHCAST128 blah blah... there are lots of people out there claiming they found the answer and that's the kiddy but it certainly didn't work for me and didn't for many many others.


So. Apple have no offical solution to this, neither have they received any official statement from up above regarding a fix (probably because good ol' stubborn apple want us to all go out and by time capsules instead of supporting other brands!)


The agent on the phone has directed me to 2 websites:


http://frankleng.me/2011/07/21/connect-to-a-freenas-samba-or-afp-share-on-lion-w orkaround/

http://www.johnlarge.co.uk/2011/07/19/osx-lion-samba-smb-shares-broken-xbmc-not- working/

The first detailed pretty much the same steps I had already taken, so I'm following the 2nd - installing some 3rd party tools.

I'm working through them as we speak and due to the large download size of Xcode it's taking a while!

I'll update the thread when I've completed them and hopefully running on smb shares again!

Mar 25, 2012 1:50 PM in response to Ken Clarke

Hi Ken,


Did you get any joy with this?


I've just bought a MAC mini with OS X and hit the same problem with my TS-1.0TGL/R5. I downloaded the Buffalo utility for the MAC that is supposed to enable connection to this device, alas, that did not work. I got an error message that says "this version of server is not supported..." or similar. I would love to hear that you cracked it.


Steve

Mar 25, 2012 2:46 PM in response to ssuddell

Hi Steve

Afraid not. After installing a lot of crap it didn't get lion to work with it and there's no instructions on how to back out the changes so I don't know if I've done any damage to my OS.

Ultimately, I just bought a new NAS (symbology ds411slim) and its awesome, but comes at a price.

I had hoped someone would bring our some new firmware for the terastation but no such luck.

That said, the terastation has always been reliable, until apple decided they didn't like it.

Ken

May 19, 2012 8:58 PM in response to glenndk

I'm having a similar problem, my G5PM with Leopard 10.5.8 can see the shared drives just fine, it's connected via Ethernet. I have 2 drives in a PC and one connected to the router/hub. The new MacBook Pro with Lion 10.7.4 (using wifi) can't see any of them, but used to connect to the PC shared drives. SHARED is also now missing in the Finder window, using (Command k) then typing in the address (smb://10.0.0.1) says it can't find the server, but it is still working on the G5. WiFi is built into the ADSL router and the LAN is hooked into one of the Ethernet ports. All computers can access the same Internet connection.


To me it sounds like an IP problem at the MBP, it is not on the same (10.0.0.#) address as the Ethernet computers but it sets the IP automatically and all attempts to change it results in the MBP loosing it's Internet connection and still not SHARED drives.


I was told that some shared NAS drives are no longer compatible with OS X Lion but this should not affect connecting to my PC unless more recent OS X updates have changed this?


I'm more concerned with this now because while the MBP is my mums laptop and she doesn't connect to the LAN ofter I'm getting a new iMac soon and it needs to be connected, I was hoping to use wifi but if the is the problem might have to go back to Ethernet for this also, meaning a new hub on my desk as the router and other hub is in another room. That's assming it's WiFi and not a Lion issue.

Jun 5, 2012 7:56 AM in response to BobbieMac

I am so COMPLETELY FED UP this.. I am not an expert - thats why I switched to Apple - because stuff should work. Now spent more then 6 hours already going and trying all kinds command line bs.


Where is APPLE in this conversation and why dont they give some decent guidance???


All I can do is open a 695US$ support ticket to hear that smb/afp is not supported any more.. come on!

Buy a new NAS??


I REGRET SO MUCH I upgraded to Lion... for me it stinks.

Jun 5, 2012 5:37 PM in response to Superfly-SP

The problem persists here, too... in addition to issues in linking various PCs, it is also impossible to use my printer/copier to scan things and upload the scan data to the new Macs. I have to upload it to a 10.5.8 Mac, then move it from there to the 10.7 machine.


So now I have to buy a new high-end color printer just to be able to use it with the Mac?

I know Mac and Windows have their issues, but unless you can find a way to at least TALK to each other, you're just hurting everyone. Including Apple.

Lion: Connecting to legacy (pre-Lion) AFP services - and Mac OS X (server)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.