Dotbar files result in lines in the syslog like the following:
May 20 08:40:44 hydra afpd[58332]: check_name: illegal name: '._foo.pdf'
I suggest the following change to make afpd less chatty:
--- etc/afpd/filedir.c.orig 2014-08-07 13:11:55.000000000 +0200 +++ etc/afpd/filedir.c 2015-05-20 08:40:36.447721986 +0200 @@ -205,7 +205,7 @@ int check_name(const struct vol *vol, char *name) { if (!vol->vfs->vfs_validupath(vol, name)) { - LOG(log_error, logtype_afpd, "check_name: illegal name: '%s'", name); + LOG(log_debug, logtype_afpd, "check_name: illegal name: '%s'", name); return AFPERR_EXIST; }
Addressing with https://github.com/Netatalk/netatalk/pull/279
Merged.