I do not know if this question should be directed at the maintainer of
the netatalk package, but since I do not know how to contact him I am
posting it here. I am running Attitude Adjustment r26175 in my Seagate
Dockstar, kong, and netatalk 2.1.3. So, my afpd.conf looks like this:
- -noddp -uampath /usr/lib/uams \
-uamlist uams_guest.so,uams_randum.so \
-passwdfile /etc/netatalk/afppasswd \
-defaultvol /etc/netatalk/AppleVolumes.default \
-systemvol /etc/netatalk/AppleVolumes.system -guestname "nobody" \
-unsetuplog "default level file" -setuplog "default log_maxdebug" \
-sleep 1 -icon
and my AppleVolumes.default is
-
/export/backup/system/time_machine "Time Machine Dump"
allow:timelord,nobody \
options:tm volsizelimit:70000 allowed_hosts:10.0.0.0/24 cnidscheme:dbd
I have an password for local user timelord defined in afppassword.
Now, let's say I am trying to connect from a Mac to kong's afp share. In
this case I am using the GUI/Finder way since I do not know how to do it
through command line yet. When I connect as guest user, which is
translated to local user nobody as defined above in afpd.conf, I am
successful. But, when I try to login as timelord, I am told told the
username/pw does not work. I was capturing log in kong (using "logread
-f") and this is how the log for the transaction looks like:
May 18 18:07:06 kong daemon.info afpd[14690]: server_child[1] 14704 exited 1
May 18 18:07:06 kong daemon.info afpd[14705]: AFP/TCP session from
10.0.0.198:55655
May 18 18:07:06 kong daemon.info afpd[14690]: server_child[1] 14705 done
May 18 18:07:18 kong daemon.info afpd[14706]: AFP/TCP session from
10.0.0.198:55656
May 18 18:07:18 kong daemon.info afpd[14706]: login noauth
May 18 18:07:18 kong daemon.info afpd[14706]: login nobody (uid 65534,
gid 65534) AFP3.2
May 18 18:07:18 kong daemon.warn afpd[14706]: volume "Time Machine
Dump" does not support Extended Attributes, using ea:ad instead
May 18 18:07:18 kong daemon.info afpd[14706]: logout nobody
May 18 18:07:18 kong daemon.info afpd[14706]: 0.12KB read, 0.12KB written
May 18 18:07:18 kong daemon.info afpd[14690]: server_child[1] 14706 done
May 18 18:07:22 kong daemon.info afpd[14690]: server_child[1] 14707 exited 1
May 18 18:07:22 kong daemon.info afpd[14708]: AFP/TCP session from
10.0.0.198:55658
May 18 18:07:22 kong daemon.info afpd[14690]: server_child[1] 14708 done
Why did it login and then logout as nobody when I specifically logged
in as timelord at that exact time? And why it did not record any
errors whatsoever?
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel