When a client attempts to connect to afpd in netatalk-1.6.4-1, I get a bunch of syslog messages like this and the access fails: Jan 14 16:04:33 jik afpd[14326]: [cnid_open.c:338]: E:Default: cnid_open: dbenv->open of /var/spool/mac-printing/dj5550-photo/.AppleDB failed: Invalid argument I suspect this has something to do with the fact that I'm using a non-NPTL kernel. See bug #112159. If so, then I suppose this may be a db4 bug (i.e., #112159) rather than a netatalk bug.
This may be a permissions problem. I had a similar error message until I made the permissions of the shared directory less restrictive. netatalk needs to be able to create the .AppleDB directory and users need to be able to write to files within the .AppleDB directory. This occurs because 1.6.4 has cnid database enabled, 1.5.x did not. The cnid db is a Good Thing, but for those used to configuring 1.5.x, the permissions issue is perplexing.
I am pretty certain this is not a permissions problem. Netatalk has the permissions it needs to write to .AppleDB. As I said, I believe it is a NPTL issue.
Marking this as a Fedora Core bug to be evaluated during Fedora Core bug week.
This bug not not occur with the latest netatalk-2.0.3-1 release in rawhide, also available for FC5/4/3 from: http://people.redhat.com/~jvdias/netatalk