OS X LION connection error with AFP and workaround

This time i wrote this post in english because i think this workaround will be interesting for a lot of people.

Ok the issue is that i tried to access my QNAP Turbo NAS TS-410 over AFP with OS X LION Developer Preview 2 and got a error message like this one above. I couldn’t login with a registered user on my QNAP NAS box. The guest account worked fine but no chance with a registered one.

So i found a solution and explanation at the Apple Developer Forum. Apple disables support for the “DHCAST128″ in OS X 10.7 LION , which is commonly used by NAS boxes. Apple thinks is it insufficiently secure. So all the Vendors must work with Apple for Lion compatibility.

To turn on “DHCAST128″ support please do the following:

1)  Launch /Applications/Utilities/Terminal and do:
sudo chmod o+w /Library/Preferences
defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1
Now restart your computer.
2)  From Finder, select an AFP server, or use “Connect To…”.  This will cause the AFP Client to create the full preferences file
3)  Launch Terminal again and do:
sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange”
sudo chmod o-w /Library/Preferences
Now restart your computer.

Note:  To add a “DHCAST128″ to the disable list, use
sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array-add “DHCAST128″


I tried it at my OS X LION installation an it worked like a charm. I hope that all the Vendors like QNAP, Synology etc. will patch that in future firmware releases.

  • Pingback: Alexander()

  • Pingback: Tobias Bischoff()

  • http://twitter.com/ukor Ulrich Kortenkamp

    Unfortunately this will not help with doing time machine backups to AFP drives on Synology DSM — they are missing necessary AFP extensions :-(

  • Pingback: Volodymyr Shuvayev()

  • http://profiles.google.com/amlanc Amlan Chatterjee

    Unfortunately it doesnt work for time machine. The same NAS (WD Sharespace 4TB) in my case, now lets me use afp (after this workaround) with user shares, but not with the WD_Backup share that Time Machine Uses. Very odd. It seems the NAS must support some new version of afp. Anyone any ideas?

  • Pilba

     Hey Alex,

    hast du zufällig auch eine Idee wie ich das Problem mit einem Windows HomeServer NAS umgehen kann?


  • Pingback: Rocky()

  • http://www.marc-seeger.de Marc Seeger

    Same for the WDLive Nas

  • Michael Dreves

    Worked like a charm for an LG NAS :)

  • Pingback: Peter Holmboe  ()

  • Battlenet

    Thx ;)

  • Pingback: Stewart Lowndes()

  • Pingback: Forrest Xu()

  • Pingback: Jan Maly()

  • Pingback: Kim Min()

  • Ali Afghah

    Thanks … You’re my hero!

  • Pingback: Joffrey()

  • Pingback: Zach()

  • Ambo72

    Great post, thank you so much.  I almost threw away my Buffalo NAS Linkstation after getting the error message !!!

  • Pingback: Robert Simon()

  • Pingback: Robert Klikics()

  • Pingback: Simon Gude()

  • Pingback: AFP KO in Lion 10.7 | Ganimede()

  • Pingback: Fredrik Cederman()

  • Pingback: Fredrik Cederman()

  • Pingback: Chris()

  • Pingback: Keks. Aleks.()

  • Pingback: Il ruggito del Leone | ipnotik.com()

  • Pingback: TruePlaya()

  • Pingback: Ryan McLaughlin()

  • Gast

    Na geht das noch mit dem GM? Bei mir will es nämlich nicht (Build 11A511)

  • Pingback: Qnap Firmware Update 3.4.4 bringt einige Bugfixes für Lion und Co | alexanderwilde.com()

  • Pingback: 皇国のイージス()

  • Pingback: Ralf()

  • Pingback: Nigel Whitfield()

  • Pingback: Takeru Hara()

  • Pingback: Yortech()

  • Pingback: Paul Hodgson()

  • Pingback: altonubis()

  • Pingback: らーちぇ()

  • Letmewin85

    You Made my Day. Thank you

  • http://twitter.com/oli61 Oliver Eichhorn

    It worked great for my Promise SmartStor NS4600.

  • http://twitter.com/oli61 Oliver Eichhorn

    It worked great for my Promise SmartStor NS4600.

  • http://twitter.com/oli61 Oliver Eichhorn

    It worked great for my Promise SmartStor NS4600.

  • http://twitter.com/oli61 Oliver Eichhorn

    It worked great for the “Promise SmartStor NS4600″.
    Thanks a lot!

  • http://twitter.com/oli61 Oliver Eichhorn

    It worked great for the “Promise SmartStor NS4600″.
    Thanks a lot!

  • http://twitter.com/oli61 Oliver Eichhorn

    It worked great for the “Promise SmartStor NS4600″.
    Thanks a lot!

  • Anonymous

    ho to udo this all? make all to defaults? thx

  • Anonymous

    ho to udo this all? make all to defaults? thx

  • Anonymous

    ho to udo this all? make all to defaults? thx

  • Pingback: wired+()

  • Pingback: Oliver Eichhorn()

  • Pingback: wired+()

  • Pingback: OS X Lion can’t connect to Iomega IX4 NAS workaround « Virtualization, Cloud, Infrastructure and all that stuff in-between()

  • Pingback: Stuart Bryant()

  • Pingback: wired+()

  • Pingback: John Smoleskis()

  • Pingback: Jerome LE()

  • Pingback: Louis_marie_c()

  • Pingback: Louis_marie_c()

  • Pingback: Mew()

  • Pingback: DanPai()

  • Pingback: yurimaruo()

  • Anonymous

    Thanks a lot for sharing this. I can now access my “WD My Book Word Edition”, however I cannot backup with Time Machine, I get this message:

    “The network backup disk does not support the required AFP features.”

  • Bernhard Ksoll

    Do i have to hit enter after every line?

    Thank you

  • Anonymous

    yes in step 1 and 3 are must hit enter after every line (command). There are two commands in step 1 and 3

  • Bernhard Ksoll

    Muss ich nach jeder Zeile Enter drücken?


  • johnski

    Thank you very much for this. It works on my WD My Book World Edition NAS drive.

  • Pingback: Felix H()

  • Bernhard Ksoll

    After that i got a message called “Der Vorgang konnte nicht abgeschlossen werden. (OSStatus-Fehler 2.)”
    What does it mean? ;-)

  • frankie

    WORKS!! Thank you very much

  • Pingback: Time Machine not working with home NAS? | Xalate.com()

  • Pingback: 軽度カフェイン中毒()

  • Pingback: Eduardo Merille()

  • Pingback: Eduardo Merille()

  • Pingback: Eduardo Merille()

  • Pingback: Eduardo Merille()

  • Pingback: Sam Wang()

  • Bj Miller

    Works great!! Thank you so much!  Running: Seagate BlackArmor 2TB NAS

  • http://twitter.com/janph76 Jan P.

    Nice…thanks for the instruction.  You saved my life!

  • Pingback: まさうす()

  • wernerl

    After inserting first line “sudo chmod o+w /Library/Preferences” and hitting ENTER, Terminal asked for a password. Mmh… I do not use a password on my MacBook. Which password is meant? Any hints? Tkx.

  • Pingback: sato516()

  • Pingback: Michiel Carpentier()

  • http://twitter.com/holgerd holgerd

    This workaround did not fix the AFP error message with my 300M Wireless N Gigabit RouterModel No. TL-WR1043N / TL-WR1043ND + attached usb hard drive: “Das Backup-Volume im Netzwerk unterstützt die notwendigen AFP-Funktionen nicht.”

    I connect to this drive via smb.

  • Pingback: Lukasz Bondarewicz()

  • Michiel Carpentier

    Thanks *VERY* much, works like a charm on my DLink DNS-323!

    Cheers –Mike

  • http://blog.avangelistdesign.com Andy Parker

    I’m a bit confused, doesn’t seemed to have resolved with a Buffalo Linkstation Live

  • Pingback: Verhindert Apple mit Mac OS X 10.7 Lion Time Machine via Dritthersteller-NAS? (Update) - Seite 2 - Forum de Luxx()

  • Pingback: Carlo Guidetti()

  • Pinoir2000

    Thanks very much, I have shared the link of your page in my facebook if you do not mind…

  • Pingback: Tomm Matthis()

  • Pingback: LG WEBCARE NL()

  • Pingback: Sven Kaemper()

  • Pingback: LG WEBCARE NL()

  • Pingback: 10.7 Lion – Erste Eindrücke | It's legen – wait for it – dary()

  • Pingback: Andrew Cutler()

  • Pingback: Russell Heimlich()

  • Pingback: みちアキ()

  • Lars

    The workaround works fine for a Buffalo LinkStaion Pro Duo (FW 1.43) too.

  • Pingback: Mark Fay()

  • Liam

    it would be nice if LS included NFS

  • Bruce S Myers

    Thanks for this post. So far, it has been head & shoulders more informative than AppleCare was. The concern I have though, is that I am still able to connect to my Iomega NAS drive (2TB Home Media Network Drive) to access my media (music, movies, TV shows, etc.) using Lion. I am just not able to connect to it using Time Machine as I was able to before I upgraded from Snow Leopard. My question to you is, if I follow your instructions, should I be able to connect to the Iomega drive to back up using Time Machine without losing the ability to connect to the rest of my media? Thanks!

  • Steffan Harries

    Unfortunately this didn’t work on my Western Digital My Book World Edition (1TB) NAS.

  • Pingback: Tom@-20Wで縮退運転中()

  • Pingback: Tom@-20Wで縮退運転中()

  • Pingback: Park Hyun-woo()

  • Pingback: Park Hyun-woo()

  • admin

    As far as I know ( I don’t use the Time Machine function of my NAS) it will not work for Time Machine.

  • Pingback: Julio Sene()

  • Pingback: Julio Sene()

  • Thankyou

    Thx works for synology DS 1511+ as well

  • Pingback: adardesign()

  • Pingback: Lion verursacht Probleme bei Netzwerkfestplatten: Ein Erfahrungsbericht - eine, Musik, schnell, Versucht, System, sudo, sein, sich - Apfelnews()

  • Pingback: Torkil Johnsen » Issues after upgrading to OS X Lion()

  • Pingback: AFP Access to NAS / Free NAS in OSX Lion « Red Daves Blog…()

  • Pingback: Matthew Leib✔()

  • Pingback: george e muir()

  • Pingback: [Sammelthread] Mac OS X 10.7 Lion - Forum de Luxx()

  • Pjboud

    When I enter the following command line I get the following message:
     “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange”-bash: “Cleartxt: command not found
    Any thoughts on what is happening?

  • Pingback: Does your San Not work with your Mac Os 10.7 (Lion) ? Workaround. « Northern Lotus Blog()

  • det

    Great, worked with LaCie d2 Network 2.. Thanks a lot!

  • Luca

    thanks a lot man! it works for me!!!!!
    WD MyBook World Edition

  • Pingback: Rogério Toledo()

  • Pingback: JPP Zoso()

  • goettlib

    Great. Now the Lion roars. And my iOmega iX2 is back again.

  • Pingback: Marek Demčák()

  • Pingback: Lee Whitehead()

  • Kevin

    Thanks a LOT :) Works for me with a WD Mybook Wolrd Edition

  • Kevin

    You entered just a piece of a commant, you have to enter the full command:

    sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange”

  • Pingback: Quora()

  • Disco-stues

    Nach Eingabe aller Kommandos unverändert keine Verbindung zur Linkstation. SMB wird garnicht mehr unterstützt?

  • guest

    not able to get my Iomega IX2 200 to work, because terminal asks for a password, but I don’t use a password….

  • Michael

    Tried it but my Iomega Home Media Network drive still won’t work with time machine but now won’t allow me to log on as a user.  When I click on connect it just boots me off.

    So how do I reverse this?

  • Pingback: koci()

  • Pingback: Ron Foley()

  • Pingback: Julio Sene()

  • Pingback: Marc Hebert()

  • Theorioles33

    THANKS SO MUCH!!! My Buffalo Linkstation is back!!

  • Pingback: pm9500()

  • http://twitter.com/grfxninja Daniel Florian

    Excellent! I can now connect to our Netgear ReadyNAS Duo

  • Pingback: Sam Collins()

  • Pingback: Mr 9 Up™()

  • http://twitter.com/ansj64 ansj64

    Just want to clarify, the last note:  do you do this or not? Reading it gave me the impression that you are disabling DHCAST128 and I thought you do need DHSCAST128?

  • Pingback: dennso()

  • Pingback: dennso()

  • Pingback: Bruno Groen()

  • Pingback: Bruno Groen()

  • Pingback: LG WEBCARE NL()

  • Pingback: Christoffer Taudien()

  • Onlyjgpoet

    Awesome!! Thanks so much!! Working with FreeNAS 0.7.2 Sabanda (revision 5543)

  • Heinmuek

    Totally out my depth here but would this also address that sort of an error message when trying to connect to a Novell network via afp?

  • CJ

    Great – it works!

  • cyberdog

    work with iMac 21.5 core I3 – LION 10.7 
    with NAS Lacie Network Space 2 firmware 1.2.9 unlocked with ssh activated

  • master of disaster

    Works like a charm on Lion. Thanks for sharing!

  • Akeel Mir

    Works for MyBookWorld.

    Schönen Dank

  • http://www.facebook.com/people/Kasper-Hedegaard-Munck/1014348069 Kasper Hedegaard Munck

    If anyone should experience problems accessing a Synology Disk Station 211+ (or similar) from OS X Lion, try the following:
    1) Open Safari2) Enter in the address line: smb://192.168.x.x (corresponding to your local NAS IP address)3) Log in as adminThis should grant you access to mount all folders from your NAS.

  • Pingback: Sebastian Schaer()

  • Pingback: oliver froning djraw()

  • Pingback: oliver froning djraw()

  • Pingback: oliver froning djraw()

  • Pingback: Jeff Costa()

  • Pete

    This does not seem to work with my TeraStation Home Server, does anyone have an idea why?

  • Pjboud

    Thanks Kevin

  • Mook

    Hugely helpful. Thanks :)

  • michi

    Connection works to MyBookWorld only via Finder. Timemachine says: 

  • Pingback: Apple, OS X, LION, 10.7, Developer, preview, AFP, SMB, Samba, error, connection, failed, NAS, QNAP, Synology, workaround, lösung, verbindung, problem, fehlgeschlagen, keine, issue, problem, | chimac.net – Stuff worth knowing about()

  • michi

    habe das selbe Problem! bitte einer melden bei Lösung! 

  • Pingback: chocojun()

  • http://twitter.com/LacertaBio Lacerta Bio BD&L

    Didn’t work for me and my Buffalo LS Duo.

  • SorryForThat

    i made a mistake!

    I executed the command from the note to add DHCAST128 to the disable list.
    sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array-add “DHCAST128″

    How can I undo it?
    DHCAST128 should not be on the disabled list….

  • http://www.diegor.it/ Diego Russo

    No luck with LinkStation Live (FW 1.43) :(

  • Pingback: yuetsu()

  • Pingback: Julien Pasquet()

  • Thomas Baader

    Just great!!! I’d have had no clue to find that way around…

  • 357mag

    Hat bei mir nicht geklappt. Vielleicht mache ich was falsch.

  • 357mag

    Hat bei mir nicht geklappt. Vielleicht mache ich was falsch.

  • 357mag

    Nach der ersten Zeile steht Password: Was soll ich dort machen? Bitte um Hilfe.

  • Steve Ferries

    the password is for the ‘sudo’ command since you are trying to run at root. It should be your login password, but since you don’t use one, try pressing enter

  • Pingback: Joe Nolan()

  • Juha

    Thanks! Now I am again connected with my Buffalo LinkStation Mini LS-WSXL/R1 and iMac using Lion!!! Thanks!

  • Pingback: Manuel Portela()

  • Pingback: Gerardo Curiel()

  • Pingback: Shin Ohtake()

  • Pingback:   Timemachine mit Buffalo NAS unter Lion by + mzungu's weblog +()

  • Pingback: Keith Whannell()

  • Pingback: Il Leone si è addormentato | : : p a e d r a e : :()

  • Pingback: MUTO Masayuki()

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    i can’t get this working on my MyBookWorld.  the prefs file doesn’t seem to update.  when doing item 2 – is this actually supposed to connect to something?  when i run i just get the same error message.

  • Pingback: Hyeonseok Shin()

  • Pingback: h.toku()

  • John

    I too have a MyBookWorld, and yes, you will get the same error message, but in the background the full preferences file is created.  Just continue on with the next steps and it should work.  It did with my MyBookWorld.

  • Pingback: Dennis Stinissen()

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    when i run “defaults read  /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams” i get this:
    (    “Cleartxt Passwrd”,    “MS2.0″,    “2-Way Randnum exchange”,    DHCAST128)

    does this imply the change has taken effect?

  • Pingback: The MacDoctor()

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    nope – not working for me :-(  how can i tell that the full preferences file is created?

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    nope – not working for me :-(  how can i tell that the full preferences file is created?

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    nope – not working for me :-(  how can i tell that the full preferences file is created?

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    nope – not working for me :-(  how can i tell that the full preferences file is created?

  • Pingback: David van Enckevort()

  • Anonymous

    Great link Alexander, thanks guys.

    However, sorry if this is a stupid question but will this method work for SMB? I can’t see to understand; the page’s title mentions SMB but the solution seems as if it’s only for AFP?

    This is quite a pain; my Mac is happy making Time Machine backups to Windows, no problem; I don’t wish to lose this at the moment. Sigh!

    Thanks again

  • tbamat01

    does not work with TimeMachine and QNAP TS210. Shares are working fine

  • Torben

    This worked perfectly with my LaCia d2 Network NAS – thank you very much!

  • tsuishui

    tried and it is not working on my TS-209 II

  • Pingback: Peter Luit()

  • Stephen Beeby

    Thanks dude. Awesome. I was about to “uninstall” Lion till I read and implemented you instructions. Cheers!

  • Pingback: Zoektocht door Lion - MediaBlog()

  • John

    The change has taken effect, however you also have DHCAST128 disabled, which is what needs to be enabled in order to be able to communicate with the MyBookWorld.  DHCAST128 needs to be removed.

  • Thomas Klimke

    I activated the root user via the directory utility and entered “sudo chmod o+w /Library/Preferences” in the terminal. When prompted to enter the root password I got the reply “Sorry, try again”. What is going wrong? Can somebody help me out?

  • Pingback: Louie Tran()

  • Bombaaa

    Well, I tried it 4 times right now. It still don’t work. I don’t know what I’m doing wrong. I also tried to “mv /L/P/com.apple.AppleShareClient.plist” to desktop and “redo” the whole procedure. Still no success.
    The afp-Server is a self-build FreeNAS 8.0.1 BETA4. Guest-account enabled – works. But the registered user doesn’t. Any Idea? Maybe sth. obvius I’m doing wrong?

  • Bombaaa

    I figured out one thing. In the terminal I’m at /Library/Preferences/ .
    If I do:
    “defaults read ./com.apple.AppleShareClient afp_disabled_uams”
    I get:
    “The domain/default pair of (./com.apple.AppleShareClient, afp_disabled_uams) does not exist”
    If I do the same command as su (sudo) I get:
        “Cleartxt PasswrdMS2.02-Way Randnum exchange”

    So this might be a permission problem. May someone who got this working post its permission for the c.a.ASC.plist and .plist.lockfile?
    That would be very kind!

  • http://www.facebook.com/profile.php?id=1551463963 Louie Tran

    Thank you so much! I was starting to panic but I found you site!

  • Thomas Klimke

    my iomega storcenter ix 2 200 is still not available for time machine, no matter what I do.

  • Thomas Klimke

    my iomega storcenter ix 2 200 is still not available for time machine, no matter what I do.

  • Pingback: George Inglis()

  • Zero777

    Synology has a DSM 3.2 beta vailable on their site. I’m running it and it works..even with Time Machine. 

  • Zero777

    get DSM 3.2 beta to fix this

  • Pingback: Bill Wilson()

  • Pingback: Så får du din NAS att fungera med OS X Lion | MaxiMac()

  • Djen

    YOu are awesome. I wish I could write it in your language. Many thanks. WD should pay you.

  • Pingback: Herry()

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    then i believe it hasn’t taken effect?!  i run the commands in the sequence provided and the results in afp_disabled_uams always remains the same :-(

  • Pingback: Jort Kollerie()

  • Pingback: Ian Lunn()

  • Pingback: danimellamo()

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    not sure why – but it worked finally :-)  thanks for your help!

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    not sure why – but it worked finally :-)  thanks for your help!

  • Lee

    Thank you so much for posting this!  My LG NAS didn’t have any support for the enhanced security and it was becoming a big problem for me.  Ran through your instructions and everything is working perfectly. Danke shön!

  • Jens

    Thanks a lot. Worked like a charm.

  • Pingback: Jun Morimoto()

  • Pingback: Martin Reinhardt()

  • Miestietis

    not work https://. I don’t know – what is problem. Yesterday install Lion and is problem. Http:// work fine.
    Please help me. 

  • Pingback: Chad Huff()

  • Christopher Richardson 71

    THANK you so much!  Easily searchable solution.  Now my Lion connects to EOL Synology NAS here at home!  Also experiencing this at work on Cellera so will do this to those MAC’s as well!  Was starting to give into MAC philosophy, but this is quite upsetting they don’t give you a CHOICE to stay backward or move forward – don’t like being forced into things!
    (do have to be comfortable with term, which I am, and did “sudo su -” then the work :)

  • Pingback: Kelli Huff()

  • Pingback: Kelli Huff()

  • Anders DK

    I get the same error… How to solve this?

  • Pingback: PBeast()

  • Soopmail

    Many thanks for this. Really helped. Cant fix via Synology update (3.2) as that beta stops the power down of the drives at the moment. This worked great as a temp workaround.

  • Pingback: Jess Brown()

  • Pingback: Gunni()

  • Pingback: ふらは()

  • Pingback: masaki a.k.a わふー()

  • Pingback: masaki a.k.a わふー()

  • Dasomicron

    Does not work on my Commodore 64. But works great on my Lion 10.7.0

  • Dasomicron

    Does not work on my Commodore 64. But works great on my Lion 10.7.0

  • Pingback: Alexander()

  • Pingback: Alfred Lee()

  • Pingback: Dhenny Ananda()

  • Pingback: Abendschnee()

  • Pingback: Abendschnee()

  • http://twitter.com/alflee Alfred Lee

    Thanks so much for this! It works for my Linkstation LS-QVL! 

  • Pingback: SATOHUMMER()

  • Pingback: SATOHUMMER()

  • Pingback: SATOHUMMER()

  • Pingback: 源蔵()

  • Pingback: kt_kitahara()

  • Pingback: Mark Southee()

  • Pingback:  Stefan Wolfrum ☺()

  • Pingback:  Stefan Wolfrum ☺()

  • Pingback: Nick Harvey()

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    i know what was wrong with what i was trying to do below – and can report – that this solution only works with one network drive at a time!  i have two that i need to use….

  • LarsM

    tried it – but only to see a different error message. 
    Before I received the error message shown at the top of this post and now my MBA/Time Machine seems to connect and Time Machine is accepting the choice of backup volume and showing the login window and accepting the password etc. But when TimeMachine starts to backup the following error message pops up: (see pic attached)

    Any suggestion, ideas how to regain this much needed functionality?

  • http://www.thomas-klimke.macbay.de Thomas Klimke

    Sounds familiar to me, same procedure with my iomega storcenter. We have to wait for firmware updates.

  • Pingback: 源蔵()

  • Pingback: Clément Nachbauer()

  • Pingback: J_Burden()

  • Pingback: Louie Tran()

  • Loz Evans

    Thanks for the work around. Works great with Iomega Media Store.

  • Solmafinap

    this is not working for me, in fact now I can’t connect to the pc server I previously could, 
    how do you undo or reverse a process in terminal?

  • Pingback: hondamarlboro()

  • Digirudi

    Works perfect for the Synology DS-106e.

  • Anonymous

    some linux NAS-es like those from synology require the latest netatalk version. Synology has a DSM 3.2 beta out that fixes this issue. If the beta is to much for you, Google for “synology ipkg bootstrap” and “ipkg upgrade netatalk”

  • Infinitydreams

    works on WD MyBook World edition — thank you!

  • Pingback: Ron Egli()

  • Pingback: mn()

  • http://www.facebook.com/chrismjacobs Christopher Jacobs

    OMFG!!! This worked like a charm….I’m so impressed that there are such bright people out there in the world to help us lesser lads (in the realm of network protocols) – THANK YOU. I have an LG NAS with the BluRay Burner…again, thank you.

  • PHP

    Hi Can anybody please explain exacty the command lines to GET BACK to the original setting? I am not knowledgable in commands in  Terminal, and I see four command lines to turn on DHCAST128 but only one command line to switch it back. Will any of the other command lines also be needed? Please explain, because I think that once the NAS suppliers has upgraded we need to go back to Apples in tended setup.
    Thanks. P-H

  • Pingback: marc thiele()

  • Pingback: julianleighton()

  • Pingback: Tim Chater()

  • Anonymous

    How do I go back to Lion’s original setup. I want to try a firmware update from Buffalo

  • Pingback: Michał Tuszyński()

  • Pingback: Albert Monera()

  • Pingback: Takuya.OHYAMA()

  • Pingback: ねずみんご()

  • jr

    I followed the instructions precisely (and tried and tried…).

    It did alter the com.apple.AppleShareClient Original.plist file by adding the following:

    afp_disabled_uams array 6 ordered objects
    0   string    “Cleartxt
    1   string   Passwrd”
    2   string   “MS2.0?
    3   string   “2-Way
    4   string   Randnum
    5   string   exchange”

    looks like the command works the way it was intended but still cannot connect to an old afp server.

    any other ideas?

  • PHP

    Hi JR, I had some strange behavior first. I think it was related to that my Mac connected to the NAS via smb (due to my ignorance).  Some of my shortcuts (alias) was defined to use smb (my LG NAS is set up for both smb and afp due to other clients in my network). So my Mac got connected via smb and after that it was not possible to connect via afp. The remedy was that I shut down the NAS and then deleted all old shortcuts on the Mac that pointed to the NAS, then booted up the NAS and restarted the Mac. Then I could connect via afp.

  • Pingback: Dennis()

  • jr

    PHP, Thanx for the very fast response. i erased all shortcuts/aliases, restarted the server restarted the desktop. i still cannot get to the old snapserver on the lan. on snow leopard, it was easy, just change two lines in the com.apple.appleshareclient.plist file.

    any other suggestions out there???

  • Pingback: ウエコジ()

  • Scott

    Excellent !!! THank you thank you thank you… Worked on the first try… I don’t want to do this to all the computers on the network but at least I can connect again !

  • Hans_peter

    Thanks a lot, it worked just fine on my Synology Diskstation!!!

  • Sunny Lai

    can work on QNAP 209 Pro II.. however, I am still waiting for a formal fix from QNAP..

  • Frode Lundsten

    Thanks Alexander. You have saved my day and data.

  • Pingback: Sthitaprajna Jena()

  • Pingback: Atul Chitnis()

  • Pingback: Miksi en asenna leijonaa? - villesdesign.fi()

  • Pingback: Nathalie Marquez C()

  • Xof

    Thanks a lot! Works fine for Lacie-2big.

  • Pingback: Schwab Ti()

  • Matt

    Worked for me on Buffalo LinkStation Live v2. It didn’t the first time I tried, but probably because I didn’t do the steps EXACTLY as specified. Also, it’s important to replace the ‘curly quote marks’ in the original with straight ones (which I think this blog substitutes automatically).

  • jr

    Matt, indeed you are right about the quotes – type in the quotes, do not cut and paste. The .plist file entries are different as a result of entering the terminal commands properly and look correct. See picture. The afp_disabled_uams entries appear to be entered correctly where before they were broken into different lines at the spaces and included quote marks. I experimented with changing the afp_allow_system_uams and afp_allow_user_uams but it still did not connect to the old snap server. I am getting desperate.

    Thank you for all your suggestions, please keep them coming!

  • Markus Sauerwald

    Hi, schade das ich es mit meinem CH3HNAS leider nicht hinbekomme. Hat einer vielleicht noch einen anderen Trick? Ich verzweifele schon langsam.
    Danke Markus

  • Mark Southee

    Worked fine with my WD My World Book. Thanks

  • Freys

    this still didn’t work on my GOFLEX Home drive

  • Kusel

    Hi! my DS411j now works. many thanks

  • Eiva

    everything works on MyBookWorld. Thank you!

  • Pingback: OS X LION AFP NAS connection error FIX | Technosis | Technology | Security | Hacking | Forensics | Recovery()

  • http://pulse.yahoo.com/_DLP77AJZLDKDGFPEPHOVWMI44E Julie

    worked great on WD MyBookWorld

  • Matt


    The commands didn’t seem to do anything for me. I pasted “sudo chmod o+w /Library/Preferences defaults write /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1″
    into Terminal, re-started. Connect to the afp server. I didn’t past this as I have no idea what bit I’m supposed to paste.
    “sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array “Cleartxt Passwrd” “MS2.0″ “2-Way Randnum exchange”
    sudo chmod o-w /Library/Preferences”I’ve given up on Lion and downgraded, actually, going all the wake back to Leopard before these multiple upgrades. I wiped the Lion partition and installed Leopard from scratch and then re-installed a Leopard back-up, but I now seem to be completely unable to access Mybook world at all. It’s definitely on and working and it has the latest firmware, but the ethernet connection just sits there “connecting” but doing nothing.

    This Lion upgrade has been a complete nightmare. Anything I need to do to reverse the terminal commands above?

  • Werner Ferreira

    I followed the workaround with a LG-NAS. Following I could see the server again.
    But by launching Time Machine on it, I received following failure: Time Machine Error, no  saving – “the network storage disc do not support the required AFP functionalities.”
    Can somebody help?

  • Werner Ferreira

    I followed the workaround with a LG-NAS. Following I could see the server again.
    But by launching Time Machine on it, I received following failure: Time Machine Error, no  saving – “the network storage disc do not support the required AFP functionalities.”
    Can somebody help?

  • Alex

    Hey, this solution worked for me and my Buffalo LinkStation quad just like a charme. Many thx and keep up the good work!

  • oldcat

    it works, thankyou

  • Pingback: Chris Liechty()

  • Macgulliver

    the Terminal is asking for your MacOS root password, the same u use when you’re installing new software etc.

  • Matt

    Does anyone have any comments or tips on my problem with Mybook world, below? I’ve gone back to Leopard. Although I see mybook world in my finder, it won’t connect from Finder Sidebar. If I use the ‘connect to’, then AFP won’t connect but SMB will and then when it does, I see the ‘Configuration’ folder, which I’ve never seen before and lots of random folders like this “_VJDGT~V”. Also, when I launch iphoto (which on Mybook world), the ‘Events’ appear but none of the content or previews. How do I undo the commands above, as that seems to be the only change that’s happened and despite erasing Lion and re-installing Leopard, I can’t connect to MBW.


  • Pingback: 諏訪光二()

  • Pingback: Yukinori SUDA()

  • Pingback: Yukinori SUDA()

  • Matt

    How do I reverse all this?

  • Pitt1717

    no go for me…. using an AFP share on a slack ware linux server

  • Pingback: Takashi Satake 佐竹隆()

  • Matt

    Seems I now need to move all my data from mybook world so that I can re-set it. Be wary of using codes in your terminal if you really don’t know for certain what you’re doing or more importantly, how to reverse it.

  • Pingback: Rik Lempens()

  • Pingback: Gareth Clubb()

  • Mike

    mine either, nothing changed, still not working (TS-410). we must wait for new firmware 3.5, coming soon as I checked

  • Pingback: Matthew Leib✔()

  • Pdicarlo


    Can someone put all this in a clean text file that explains what to do – preferably as a set of cut and paste instructions and commands..?

  • Anonymus

    Thanks a lot for this tip. My LinkStation LS-WSGL now works again. Buffallo don’t give a firmware update for my Version.

  • Pingback: Meine Bookmarks vom 24.06. bis 4.08. | web20typ_()

  • bruno barberi

    Thanks so much. It perfectly worked on my Synology DS410.

  • Markdorling

    Hello there,

    Many thanks for your great article. I am a newbie to Mac and things Unix so have had some problems with Lion and my NAS Drive…

    I have run the scripts above which allows me to access the NAS D-Link DNS 320 Raid 1 hard disks. However, I am still unable to use Time Machine with this solution… is this correct? Or should I be able to use Time Machine with my NAS now???

    When I run Time Machine, the error has changed to: “The network backup disk does not support the required AFP features. Open Time Machine preferences to select a different backup disk.”

    Please help…

    Kind regards, Mark

  • Pingback: olivier rocques()

  • Theprez

    This was great!  It served me well for weeks..now that Buffalo has resolved the issue with new firmware how can I undo the changes these commands did?

  • DO

    Thanks man worked great with my LaCie D2!!!

  • Pingback: Moatasem Al-Zamil()

  • Ofrlvy

    I tried it and it doesn’t work on my 2d.
    How can I change back the command chains in Terminal?

  • Pingback: Paul Mullett()

  • JR

    Thank you everyone for the posts. I have tried everything suggested but no luck connecting to an old SnapServer. I even reinstalled Lion and edited the .plist file using some variations.

    Please keep the posts coming and maybe the rest of us will achieve some good results.

  • Graeme Humphrey


    This didn’t work for my Linkstsation Pro Duo at first, but then I read to replace ” with ‘ and it worked like a charm!


  • Pingback: Sam Johnston()

  • Glenn Genesys

    I love you. That worked great.

  • Helios UB User

    perfect! thanx :-)

  • Pingback: josh harmon()

  • Pingback: josh harmon()

  • Pingback: Per Forsh()

  • Wijnand

    Hi I have Home Media Netword drive to, and I still cannot use Time Machine. Does anyone have any ideas?

  • Volker

    many thanks! Now my iomega iconnect works with lion! Könntest auch ne deutsche Überstzung anbieten.

  • Pingback: Ben Wilkoff Network()

  • Jawahar

    Good one.. Worked on an ix2-200 after a couple of false tries.. Thanks a ton!

  • http://www.facebook.com/sean.k.treadway Sean Treadway

    Worked like a champ for my LS-WTGLE RAID!

  • Pingback: Jorge Cortés()

  • Pingback: Chris Lightfoot()

  • Pingback: Shingo Sato()

  • Chansi

    I download the latest firmware from synology.  I am trying to revert the setting which I follow from here but end up mess up all kind of connection to my NAS.  Is there a way where I can clear everything in the connect to function and redo the whole thing?  I am using another mac I have and connect through AFP and it is working fine so it is something to do with the changes I make after I follow the above instruction.  Please help.

  • Pingback: Milk()

  • Pingback: Marc Juchli()

  • http://twitter.com/74000Riffs Erin

    THANKS SO MUCH! I love you!! :D

  • Edvandro Santos

    Workfed fine to me on MyBookWorld II!!!

  • Gast

    The fix worked foine with 10.7 – butnow after 10.7.1 upgrade it does not work at all.
    Any suggestions ?

  • Djoertsch

    Thanks, works fine…:-)

  • Pingback: Adam Turetzky()

  • Pingback: Hiroki Wakabayashi()

  • Pingback: Francesco Tarantola()

  • Yesnook

    work on my Linkstation Quad LS-QL/R5

  • Pingback: แก้ปัญหาปวดใจสำหรับท่านที่อัพเกรดเป็น Lion แล้วใช้งาน AFP ไม่ได้ | :: ETCPOOL BLOG ::()

  • Pingback: LG WEBCARE NL()

  • Tiagovieira

    Doesn’t work for my FANTEC MR-35DRN NAS. Continue to show the popup box where says that i don’t have permission to see content of the folder… 

    Since all my work is backed up to the NAS server, i have 2 solutions: FTP access or re-install Snow Leopard. Damn you Apple.  

  • Pingback: LG WEBCARE NL()

  • Luke Lee

    worked like a dream…..thank you so much!

  • Pingback: Evolucion Mac Club Tampico » NAS LG N2A2, disco de red y aplicaciones de LG para iOS: A Fondo()

  • Tonny Vernager

    Ich hatte keine Ahnung was die vershiedende Kommandos tat aber es hat funktioniert :) Ich bin neu auf mac. Vielen dank Darfur. Zur information ich habe ein DS209j und ein Macbook air.

  • Simon Scmp

    sorry didn’t work for me on lower afp server

  • Patrick

    Works for me!!!! Thank you so much!
    I have an Iomega StorCenter ix2.

  • Pingback: householdsteve()

  • http://profiles.google.com/thetenzenmen shaun tenzenmen

    any idea what is going on here – when i write the file i’m getting these contents:

    (    “\U201cCleartxt”,    “Passwrd\U201d”,    “\U201cMS2.0\U2033″,    “\U201c2-Way”,    Randnum,    “exchange\U201d”)

    i have one drive working and another semi working :-(

  • Pingback: Marco Malacarne()

  • Pingback: LG WEBCARE NL()

  • Pingback: Billy Bob Trueblood()

  • Stoffepilot

    Has anyone tried this on DNS-323

  • fweijers

    I did, and unclear if this was successful.
    After I boot my mac and open Finder there is no DLINK in the left bar (before LION there always was a network link, called DLINK in the left pane). After a while sometimes there appears a DLINK network connection
    And then after a while it’s dissapeared …
    If the DLINK is there, I can access the DNS-323 as usual.

    If anyone can tell me why this connection seems to toggle … 

    Anyway, my solution to have a proper network connection to the DNS-323 is this:

    in Finder go to “connect to server” and fill out this:
    smb:// and it works!
    Default the protocol is afp://

    Replace the afp with smb and this might be your solution.

  • Jesperws

    WORKS! Awesome, thank you so much :-)

  • Pingback: Richard van Aalst()

  • Kieran Woodward

    brilliant! worked like a charm! thank you so much!

  • Pingback: LG WEBCARE NL()

  • Pingback: LG WEBCARE NL()

  • Pingback: LG WEBCARE NL()

  • Pingback: LG WEBCARE NL()

  • Pingback: LG WEBCARE NL()

  • Pingback: LG WEBCARE NL()

  • Gmoney

    is there a way to reverse this or go back to the original settings? It worked great but I have to connect to the server each time I restart. Let me know, thanks for the help

  • Pingback: LG WEBCARE NL()

  • Pingback: BROUSSE Willy()

  • Pingback: Jorge Corcuera()

  • fronk

    Is the workaround still working after updating Lion to 10.7.2?

  • Anonymous

    It did not work for me in 10.7.2 with an iomega ix2-200 (tried it a couple times)

  • Pingback: Squozen()

  • Pingback: LG WEBCARE NL()

  • http://www.facebook.com/sergiobodyweb Sergio Longhi

    You rock man :)

  • http://www.facebook.com/sergiobodyweb Sergio Longhi

    But….. Time Machine is still not working under Lion :(

  • Pingback: Caroline()

  • Pingback: Eros Gaetani()

  • Pingback: packirara()

  • Pingback: snow / 栗夫 / 観測者()

  • http://twitter.com/DanCMos DCM

    Now that the firmware has been updated, how do I reverse this?

  • Pingback: LG WEBCARE NL()

  • Kevin

    Okay I’m not sure I am doing this correct.  I did the first set of commands but I also did the last set by the “Note” to disable “DHCAST128″  Am I suppose to do both?  I am asking because it’s not working for my Buffalo TeraServer which it appears others got theirs to work. 

    If I was not suppose to do the last command. How do I re-enable “DHCAST128″?

  • Pingback: Tobias Weisserth()

  • Pingback: Francesco Delfino()

  • Onsdons

    YESSSS!!!! It worked, I see my sparse bundles again!
    Now I’ll will start to restore my new hard disk with Lion.

    Thanks, You are a geek!

  • Riscostm

    Thanks for this, it work very well buddy! One question tho, will the spotlight indexing still work with this work around? Awesome howto!

  • Riscostm

    Oh and just to let everyone know it works with the TeraStation TS-WXL755 model!

  • Pingback: Edwin Mckain()

  • Tinker

    You are fabulous. It worked like a charm on my LG NAS N2B1

  • Anonymous

    Thanks a lot. you’re great!~~ Good job~

    U better than BuffaloNasServiceTeam…

  • Pingback: Dani()

  • MaxRaschke

    Wheres your Flattr Button!? Thanks for this Workaround- saved my ass!

  • Anonymous

    Don’t forget to reset afp_host_prefs_version to the default “15” afterwards (when the firmware for the NAS is updated to properly support Lion).

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

  • http://mu-studios.com Manuel Urbano Martínez

    Thank you! Works very well :)

  • Chrismiller27

    thanks alex, worked for us as well!!

  • Heinz-bert

    do you have a solution already

  • Anonymous

    Worked for me. Thank you so much!

  • Mrausma92

    Thank you very much for the post! I unsuccessfully tried to follow similar instructions from another friend with the same trouble. Your approach nailed it!!

  • Coelho

    This solution is valid to SMB? Because I tried and I don’t connect to my server, I’m received the same error 


  • Pingback: PipE()

  • Pingback: [Sammelthread] *** "der neue" Mac-Quatsch-Thread *** [Part 17] - Seite 156 - Forum de Luxx()

  • Josefcarel

    I have a similar problem but something different and I wonder if the solution proposed here will work for me, the message I get is like this. Tell me please if I can do as your advice?

    There was a problem connecting to the server “xx.xxx.xxx.xxx”.
    The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.

  • Josefcarel

    My problem is similar but it happens when I try to connect remotely to my Hard Disk attached to my Airport Extreme
    “There was a problem connecting to the server…..”
    The Server my not exist or it is unavailable at this time. Check the server name or IP address, check your network connection and try again”

    I would like to know if the solution to my problem is the same as your proposal here.
    Josef Carel

  • Gast

    It worked! With afp… but not with smb. But afp is fine for me ;) Thank you!

  • James Wages

    I get the same error dialog in Lion when I try to connect to a PowerBook G3 Wallstreet PDQ running AppleShare IP 6.3.3 on OS 9.  So I am curious if your “hack” would also work for AppleShare. 

    I clicked on your link to “Apple Developer Forum,” but despite my being logged in there, your link does not take me to a specific discussion offering the original “solution and explanation.”  Therefore, please make your URL more specific.

    And will your method work for AppleShare IP servers?  If so, how does your method need to be changed to accomodate AppleShare IP servers?

    I look forward to your answer.

    Thank you.

  • Milan KD

    Dear Alex 1st of all thanks for the solution that you provide, and i was having Mac Os X Lion 10.7.2 and also I Do have WDsharespace 4TB, I use it to Time machine backups, And now i can access the WD “smb://wdsharespace” and access datas, but time machine i can’t connect. please help me, i’m stuck with this,

  • Milan KD

    i tried this To turn on “DHCAST128″ support but i’m not sure that the way i did is correct or not. so please instruct me the way i should do to make it work. thanks..!

  • Stefanieneves

    Hey there! So I’m having the same problem with my MyBook WD Hard Drive. Entering in that command code in Terminal prompts a warning message about how I may lose my data and I don’t want to continue forward as I cannot lose anything I have backed up!
    Do you have any advice for what I should do? Thank you!

  • Pingback: Darkoperator()

  • Dsh

    Worked like a charm. Thank you very much indeed!

  • Pingback: Mugunth Kumar ()()

  • Pingback: The Lion is dancing Samba too B-) — DejavuZ.COM()

  • Pingback: くにあき()

  • Pingback: えか()

  • Renavia

    I’m having a problem. When it asked for the password, I can’t type. Why is that?

  • Pingback: Daniel Banasik()

  • Pingback: Nanako Hisamura()

  • X Y

    Thanks, it works with my LS Live. But now I tried to use it as a Time Machine, but it can’t save because the necessary AFP funktions are not available. What can I do?

  • LTK

    Das Backup-Volume im Netzwerk unterstützt die notwendigen AFP-Funktionen nicht.

    Was nun ?

  • Jconte8

    very nice – works well with my Thecus NAS.  I had tried many things before that did not work.  Danke!

  • yes i did

    it worked!

  • Nikos ADV

    the terminal is asking for the password but when I tried to type it nothing types. I tried to type any letter or number but the terminal stay at the same point, like I didn’t type anything. So I went to the users and disable the password, restart the machine and logon again without any password. I had starter the terminal and paste the following without quotes ”

    sudo chmod o+w
defaults write
    /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1″ and the terminal ask again for the passwordi just push the enter and the terminal said “sorry, try again” after 3 times the terminal goes again to the initial screen…at this point I can type anything but when it asks for the password I cannot type anything. Can you please help me?
    ALso pls clarify that the order is correct sudo chmod o+w
defaults write
    /Library/Preferences/com.apple.AppleShareClient afp_host_prefs_version -int 1

  • Nikos ADV

    I have the same problem, can anybody help pls???

  • Fenta

    okay, for network access it is okay, but time machine says: “The backup volume in the network does not support the necessary functions of AFP.”

  • Fenta

    okay, wd my world disk firmware update, and time machine ins fine:-)

  • Reid

    You cannot see your password as you type it.  Just trust that it works. You will seen no indication of your typing.

  • Pingback: Pentland Forth()

  • Pingback: Mac OS X Links()

  • Matt

    Vielen Dank für diesen hilfreichen Beitrag! Nach einem Update hat sich die Einstellung verflüchtigt und die NAS verschwand aus dem Finder. Zugang lässt sich so wiederherstellen.

  • Eike


    thank you for this work-around that worked out pretty fine for me. Do you think this work around will also work on 10.8 Mountain Lion?


  • WynP

    Vielen Dank!
    this enabled me to see my Iomega NAS on Mountain Lion – after upgrading to ML yesterday the NAS was not visible form OSX but was visible from a windows VM running on Parallels 7.
    However Time Machine sees the NAS but won’t run…. yet.

  • http://gwynethllewelyn.net/ Gwyneth Llewelyn

    Hmm. Seems to have worked for me as well. Not quite as intended — my Iomega Home Network Drive used to “look” like a Time Machine, icon-wise, and with this “trick” it just becomes a normal share that Time Machine can use as backup. But it’s better than nothing! Thanks so much.

  • andi

    Unter 10.8.2 scheint diese Möglichkeit nicht mehr zu funktionieren. Was kann man da machen? DANKE!

  • Leo

    Works on Mountain Lion but the OS appears to disable DHCAST128 again without restarting the computer. Not clear what was rewriting the Preference file. Any one has a solution?

  • Pingback: kristijan.org » Mac OSX Lion and AFP shares()

  • Pingback: Workaround for Mac OS Lion NAS woes | user's Blog!()

  • Cafesitter

    Thank you thank you thank you! Happy Holidays;)

  • g

    Awesome! worked like a charm on my Iomega ix2-200. Thanks for the help!

  • Pingback: Iomega StorCenter iX2-200 « olebexx()

  • Jimmy

    Tried this between OS 10.7.5 and a Buffalo HD-HLAN250 but it doesn’t work. Is there something else I’m missing? I can connect to the HD-HLAN250 with no problem from OS 10.5.


  • http://www.libecon.com/ LV Agorist

    For OS X 10.8 Mountain Lion (tested on an iMac 12,2 running a clean install of 10.8.3), follow the above instructions and omit the following two steps:

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

    Note: To add a “DHCAST128″ to the disable list, use
    sudo defaults write /Library/Preferences/com.apple.AppleShareClient afp_disabled_uams -array-add “DHCAST128″

  • duc848evo

    Very good article, many thanks!

  • Ted Goad

    i`m having this same issue with my nas terastation server after update to mountain lion then to mavericks even updated to Yosemite hoping the latest os would fix this to no avail all other smb shares work fine my terastation worked fine before updating