Red Hat Bugzilla – Bug 74636
netatalk afpd looks for configuration file in wrong location
Last modified: 2015-03-04 20:11:24 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
Description of problem:
Editing /etc/atalk/afpd.conf has no effect whatsoever on netatalk. No mater
what changes are made to the configuration file, netatalk runs under the
default options, as though the configuration file had never been edited.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. edit /etc/atalk/afpd.conf and add a line at the bottom reading:
"Guest Volume" -uamlist uams_guest.so
2. As root, do: service atalk restart
3. Try to log in as a Guest user from a Macintosh on the network.
Actual Results: When trying to log in from a Macintosh on the network, I find
the "Guest" option greyed out and unavailable - netatalk refuses to let me log
in as a guest user. I am only given the option to log in as a Registered User.
Expected Results: "Log in as Guest User" should have been an available option
when trying to log in from the Macintosh.
After a little investigation, I found that if you do:
strings `which afpd` | grep afpd.conf
You will get:
This is the wrong location. Netatalk should be looking for that file
in /etc/atalk/afpd.conf instead.
My current workaround solution is to do (as root):
ln -s /usr/etc/netatalk /etc/atalk
This, however, is not an optimal solution - I believe that the Netatalk rpm
has been incorrectly compiled. It would be better if Netatalk looked for the
configuration file in its correct location.
*** This bug has been marked as a duplicate of 69647 ***