I found a work around for this Bug, which works for me.
in source package netatalk/etc/afpd/directory.c
there are the lines
if ((ret = lchdir(cfrombstr(dir->d_fullpath))) != 0 ) {
LOG(log_debug, logtype_afpd, "movecwd('%s'): ret: %u, %s",
cfrombstr(dir->d_fullpath), ret, strerror(errno));The fix is to replace lchdir with chdir. There is only one occurrence of lchdir in the source file.

