Feature #483
Add DHX2 authentication to Netatalk configuration
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Important | Due date: | ||
| Assignee: | % Done: | 0% | ||
| Category: | Backend | |||
| Target version: | 8.2.0-RELEASE | |||
| ChangeLog Entry: | Hardware Configuration: |
Description
It has been widely reported on the internet that OS X 10.7 Lion will not connect to an AFP server that is not offering the uam_dhx2 method of authentication. See [http://trick77.com/2011/02/25/afp-broken-linux-based-nas-mac-os-x-lion-10-7/] and google for others.
Please add uam_dhx2.so to the afpd.conf that is generated by ix-afpd. I see that the module is already installed.
History
#1
Updated by Tony Scicchitano over 5 years ago
This will only fix afp, but Time Machine will need Netatalk 2.2 (http://trick77.com/2011/02/25/afp-broken-linux-based-nas-mac-os-x-lion-10-7/comment-page-1/#comment-2525). Hopefully it's (netatalk) finished soon and can make it onto an upcoming FreeNAS release.
#2
Updated by Josh Paetzel over 5 years ago
The UAM was added in r6850.
#3
Updated by Naphat - over 5 years ago
Looks like there's hope for us. Netatalk 2.2 will be on source forge soon (http://www.netafp.com/open-letter-to-the-netatalk-community-501/ See the "Updated" part at the bottom).
#4
Updated by ceckerle - about 5 years ago
Netatalk 2.2 final seems to be available:
#5
Updated by Naphat - about 5 years ago
Does this mean it will make it to freenas 8.0.1 release? :)
#6
Updated by Paul Donovan about 5 years ago
Source archives of Netatalk 2.2 are available from sourceforge now - http://sourceforge.net/projects/netatalk/files/
Though there seems to be an issue with the archive currently uploaded, a header file is missing - http://sourceforge.net/mailarchive/message.php?msg_id=27863015.
Are you going to wait for the netatalk port to be updated though? Is it even likely to be added to the RELENG_8_2 ports tag (I think that's how the ports are labelled?).
#7
Updated by Tony Scicchitano about 5 years ago
Well, Netatalk 2.2 seems to have made it to FreeBSD Ports a couple of days ago:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/netatalk/
I'm really hoping this was quick enough to get it into FreeNAS 8.01.
Fingers crossed.
#8
Updated by Naphat - about 5 years ago
Is it possible to install it manually though?
#9
Updated by Tony Scicchitano about 5 years ago
I'm going to hold out for an official implementation, but if you're daring:
#10
Updated by Garth - about 5 years ago
I see that Netatalk was updated as part of changeset 7083 - but I don't see that Avahi was updated. I am pretty sure that Avahi 0.6.28 won't do the necessary automagic zeroconf stuff that Lion (and Snow Leopard) wants for proper Time Machine functionality.
Ideally Avahi 0.6.30.
#11
Updated by Tony Scicchitano about 5 years ago
I can confirm that with the latest nightly (7107), Time Machine cannot discover the share unless it is mounted manually first.
#12
Updated by Tony Scicchitano about 5 years ago
Replying to [comment:11 cpts]:
I can confirm that with the latest nightly (7107), Time Machine cannot discover the share unless it is mounted manually first.
Strange, now it seems to be working. I'll reboot my FreeNAS box and Mac and see if it's still there.
garth, have you tried it?
#13
Updated by Garth - about 5 years ago
I haven't yet tried the nightly - but your findings could be correct. The afp_voluuid.conf file isn't created by Netatalk until the volumes are mounted once. Then Avahi can suck out the share names and uuids and automatically build the adisk.service file.
Another challenge in FreeNAS may be in having these runtime generated files survive a reboot.
#14
Updated by Tony Scicchitano about 5 years ago
Well, tested a bit more, and I'm having too many issues with this build. AFP shares are only visible after I restart the AFP service (afpd doesn't seem to start after a reboot), any new volumes I create are not mounting automatically so I can't access them without a little effort, and changing permissions in the gui don't stick. I hope one of the more recent changesets fixes these issues.
As for the afp share being visible to Time Machine, it seems to work provided afpd is started so I'm looking forward to a later build (or 8.0.1 final :-)
#15
Updated by burnduck - about 5 years ago
0.7.2.7903 still doesn't work with Time Machine in Lion
#16
Updated by William Grzybowski about 5 years ago
This support system is for 8.x. For 0.7.x use source forge bug tracker, please.
#17 Updated by Anonymous about 5 years ago
- Resolution set to fixed
This issue appears to be fixed based on this and reports received from other Mac users. Closing ticket.