OS X LION connection error with AFP and workaround
On 03, Apr 2011 | 467 Comments | In News, OS X, Terminal hacks, Tips - Howto's | By Alexander Wilde

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
Pingback: Volodymyr Shuvayev
Pingback: Rocky
Pingback: Peter Holmboe
Pingback: Stewart Lowndes
Pingback: Forrest Xu
Pingback: Jan Maly
Pingback: Kim Min
Pingback: Joffrey
Pingback: Zach
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
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: らーちぇ
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
Pingback: Felix H
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
Pingback: まさうす
Pingback: sato516
Pingback: Michiel Carpentier
Pingback: Lukasz Bondarewicz
Pingback: Verhindert Apple mit Mac OS X 10.7 Lion Time Machine via Dritthersteller-NAS? (Update) - Seite 2 - Forum de Luxx
Pingback: Carlo Guidetti
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: みちアキ
Pingback: Mark Fay
Pingback: Tom@-20Wで縮退運転中
Pingback: Tom@-20Wで縮退運転中
Pingback: Park Hyun-woo
Pingback: Park Hyun-woo
Pingback: Julio Sene
Pingback: Julio Sene
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
Pingback: Does your San Not work with your Mac Os 10.7 (Lion) ? Workaround. « Northern Lotus Blog
Pingback: Rogério Toledo
Pingback: JPP Zoso
Pingback: Marek Demčák
Pingback: Lee Whitehead
Pingback: Quora
Pingback: koci
Pingback: Ron Foley
Pingback: Julio Sene
Pingback: Marc Hebert
Pingback: pm9500
Pingback: Sam Collins
Pingback: Mr 9 Up™
Pingback: dennso
Pingback: dennso
Pingback: Bruno Groen
Pingback: Bruno Groen
Pingback: LG WEBCARE NL
Pingback: Christoffer Taudien
Pingback: Sebastian Schaer
Pingback: oliver froning djraw
Pingback: oliver froning djraw
Pingback: oliver froning djraw
Pingback: Jeff Costa
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
Pingback: chocojun
Pingback: yuetsu
Pingback: Julien Pasquet
Pingback: Joe Nolan
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
Pingback: Hyeonseok Shin
Pingback: h.toku
Pingback: Dennis Stinissen
Pingback: The MacDoctor
Pingback: David van Enckevort
Pingback: Peter Luit
Pingback: Zoektocht door Lion - MediaBlog
Pingback: Louie Tran
Pingback: George Inglis
Pingback: Bill Wilson
Pingback: Så får du din NAS att fungera med OS X Lion | MaxiMac
Pingback: Herry
Pingback: Jort Kollerie
Pingback: Ian Lunn
Pingback: danimellamo
Pingback: Jun Morimoto
Pingback: Martin Reinhardt
Pingback: Chad Huff
Pingback: Kelli Huff
Pingback: Kelli Huff
Pingback: PBeast
Pingback: Jess Brown
Pingback: Gunni
Pingback: ふらは
Pingback: masaki a.k.a わふー
Pingback: masaki a.k.a わふー
Pingback: Alexander
Pingback: Alfred Lee
Pingback: Dhenny Ananda
Pingback: Abendschnee
Pingback: Abendschnee
Pingback: SATOHUMMER
Pingback: SATOHUMMER
Pingback: SATOHUMMER
Pingback: 源蔵
Pingback: kt_kitahara
Pingback: Mark Southee
Pingback: Stefan Wolfrum ☺
Pingback: Stefan Wolfrum ☺
Pingback: Nick Harvey
Pingback: 源蔵
Pingback: Clément Nachbauer
Pingback: J_Burden
Pingback: Louie Tran
Pingback: hondamarlboro
Pingback: Ron Egli
Pingback: mn
Pingback: marc thiele
Pingback: julianleighton
Pingback: Tim Chater
Pingback: Michał Tuszyński
Pingback: Albert Monera
Pingback: Takuya.OHYAMA
Pingback: ねずみんご
Pingback: Dennis
Pingback: ウエコジ
Pingback: Sthitaprajna Jena
Pingback: Atul Chitnis
Pingback: Miksi en asenna leijonaa? - villesdesign.fi
Pingback: Nathalie Marquez C
Pingback: Schwab Ti
Pingback: OS X LION AFP NAS connection error FIX | Technosis | Technology | Security | Hacking | Forensics | Recovery
Pingback: Chris Liechty
Pingback: 諏訪光二
Pingback: Yukinori SUDA
Pingback: Yukinori SUDA
Pingback: Takashi Satake 佐竹隆
Pingback: Rik Lempens
Pingback: Gareth Clubb
Pingback: Matthew Leib✔
Pingback: Meine Bookmarks vom 24.06. bis 4.08. | web20typ_
Pingback: olivier rocques
Pingback: Moatasem Al-Zamil
Pingback: Paul Mullett
Pingback: Sam Johnston
Pingback: josh harmon
Pingback: josh harmon
Pingback: Per Forsh
Pingback: Ben Wilkoff Network
Pingback: Jorge Cortés
Pingback: Chris Lightfoot
Pingback: Shingo Sato
Pingback: Milk
Pingback: Marc Juchli
Pingback: Adam Turetzky
Pingback: Hiroki Wakabayashi
Pingback: Francesco Tarantola
Pingback: แก้ปัญหาปวดใจสำหรับท่านที่อัพเกรดเป็น Lion แล้วใช้งาน AFP ไม่ได้ | :: ETCPOOL BLOG ::
Pingback: LG WEBCARE NL
Pingback: LG WEBCARE NL
Pingback: Evolucion Mac Club Tampico » NAS LG N2A2, disco de red y aplicaciones de LG para iOS: A Fondo
Pingback: householdsteve
Pingback: Marco Malacarne
Pingback: LG WEBCARE NL
Pingback: Billy Bob Trueblood
Pingback: Richard van Aalst
Pingback: LG WEBCARE NL
Pingback: LG WEBCARE NL
Pingback: LG WEBCARE NL
Pingback: LG WEBCARE NL
Pingback: LG WEBCARE NL
Pingback: LG WEBCARE NL
Pingback: LG WEBCARE NL
Pingback: BROUSSE Willy
Pingback: Jorge Corcuera
Pingback: Squozen
Pingback: LG WEBCARE NL
Pingback: Caroline
Pingback: Eros Gaetani
Pingback: packirara
Pingback: snow / 栗夫 / 観測者
Pingback: LG WEBCARE NL
Pingback: Tobias Weisserth
Pingback: Francesco Delfino
Pingback: Edwin Mckain
Pingback: Dani
Pingback: PipE
Pingback: [Sammelthread] *** "der neue" Mac-Quatsch-Thread *** [Part 17] - Seite 156 - Forum de Luxx
Pingback: Darkoperator
Pingback: Mugunth Kumar ()
Pingback: The Lion is dancing Samba too B-) — DejavuZ.COM
Pingback: くにあき
Pingback: えか
Pingback: Daniel Banasik
Pingback: Nanako Hisamura
Pingback: Pentland Forth
Pingback: Mac OS X Links
Pingback: kristijan.org » Mac OSX Lion and AFP shares
Pingback: Workaround for Mac OS Lion NAS woes | user's Blog!
Pingback: Iomega StorCenter iX2-200 « olebexx