Time Machine Error

Lion OSX as much exciting as it was claimed, still have a several drawbacks and to some it is not as polished as what Apple claims. Me for one using Lion OSX and to be honest there is some features I like and some that I think could be better.

One of the thing that annoy me is after upgrading to Lion I can no longer backup my Macbook Pro to the Time Machine on my QNAP 209 II NAS as Lion requires additional AFP features not available in netatlak 2.1 which is what being used on my NAS. So, the code which I want to share below will fix this issue and let you use your old NAS as Time Machine again.

Many thanks to Glenndk who posted this solution on Qnap forum, Macrumours forum and Apple forum.

 

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 contain CR/NL-characters. Copy the commands to a text-editor and remove format-inserted CR/NL-characters – if any.

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:

sudo -s
chmod o+w /Library/Preferences
cd  /Library/Preferences/
rm com.apple.AppleShareClient.plist*
chmod o-w /Library/Preferences
! 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 (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?)

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/ … s-osx-lion

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

 

Source:

http://forum.qnap.com/viewtopic.php?f=30&t=48143
http://forums.macrumors.com/showthread.php?p=13166617
https://discussions.apple.com/thread/3258472

 

[UPDATE]

An official firmware for x09 series has been released on August 25th. You can download it from Qnap Firmware Download site.

Release note:

[Official Firmware] v3.3.1 Build0823 for TS-209 series NAS

[Before Getting Started]
– Always have a full backup before updating your system
– Remember to clear the browser’s cache

[Version & Build]
3.3.1 Build0823

[Checksum]
TS-209: 2220887974

[What’s New?]
– Mac OS X Lion compatible including Time Machine

Leave a Reply

1 Comment on "HowTo: Connecting OSX Lion to legacy AFP services – and Mac OS X (server)"

Leave a Reply

wpDiscuz