Page 1 of 1

Mac OS X Lion and Amahi

Posted: Mon Aug 08, 2011 6:01 am
by khristopher
After countless searches, and many hairs pulled out, I'm being forced to come to the conclusion that the SMB authentication in Lion is borked! The only way I can access my Amahi shares from my MacBook Pro with Lion on it is to use Guest access. I can access the same shares from various Windows boxes without any problems and can authenticate users properly.

Has anyone else had issues with Lion and Amahi, or even better, found a solution?

Re: Mac OS X Lion and Amahi

Posted: Wed Aug 10, 2011 6:54 am
by khristopher
Am I really the only person having problems with this?

I can authenticate from any Windows box with various different usernames, but from my Mac I can't connect at all unless it's as a Guest, and the shares allow Guest access.

Re: Mac OS X Lion and Amahi

Posted: Wed Aug 10, 2011 10:25 pm
by radioz
From your Mac, do you get prompted for a user name and password?

Re: Mac OS X Lion and Amahi

Posted: Thu Aug 11, 2011 5:48 am
by khristopher
Absolutely. The authentication box comes up and I enter in my username and password (which work when I connect from a Windows box), however the box shakes indicating that it can't authenticate.

Re: Mac OS X Lion and Amahi

Posted: Tue Aug 16, 2011 6:13 pm
by ss358703
I'm having nearly the same problem. My HDA is not appearing by default as it was previously with Snow Leopard. Now, in lion, I must go -> connect to server -> smb://hda. Then I'm logged in by default to "admin" and cannot change the user. My current thinking is it's an issue with keychain as my admin credentials are stored here, but I have nothing to back this up. Any advice on how to change user in Lion would be appreciated.

Re: Mac OS X Lion and Amahi

Posted: Sat Sep 17, 2011 8:25 am
by jramer
I've found a fix that works for me.

If you're lucky it will suffice to change the samba port from 139 to 445 in the avahi service config file. Found the tip after I upgraded netatalk, here...
http://tob.io/post/8383529336/fix-avahi ... -os-x-lion

The Avahi config-files reside in

Code: Select all

/etc/avahi/services
But I started by upgrading netatalk to 2.2.1 as AFP 3.3 support is needed for time machine and lion (according to netatalk readme) and it's available from 2.2.0.

I couldn't find an upgrade for fedora 14 so I made my first ever rpm!
It works for me but I can't give any guarantees... You've been warned.
http://dl.dropbox.com/u/159296/netatalk ... 4.i686.rpm

To upgrade, go to download dir and, as root, run:

Code: Select all

rpm -Uvp netatalk-2.2.1-1.fc14.i686.rpm
I got a warning because there already were an AppleVolumes.default file. No worries.
"warning: /etc/netatalk/AppleVolumes.default created as /etc/netatalk/AppleVolumes.default.rpmnew"

Good luck!
Amahi and Mac is still the way to go!