Replies: 3 comments 11 replies
-
|
I read through the logs, and from a netatalk perspective the authentication succeeded. My gut feel is that there's a problem with the volume permissions or perhaps the CNID database permissions due to your jail setup. Make sure that cnid_dbd is allowed to write to the CNID dir (under the state directory as indicated if you run "afpd -V") and that the shared volume dir has reasonable permissions for the users that need to access it. You can turn on maxdebug as well and see if that gives us more hints. What version of netatalk is this, and which clients are you using to connect to it? |
Beta Was this translation helpful? Give feedback.
-
|
User's / Directory's permissons are fine ( I could read and write as a said user in shell ) I'm not sure what you meant with cnid_dbd. I would definitely tried doing more with guest user but when trying to do anything with volume, I'm getting this from FreeBSD's dmesg I forgot to add that I'm not very experienced with FreeBSD (or Unix / Linux enviorments in general) PS. My ZFS dataset is not inside of jail's and is mounted with nullfs by fstab that my jail.conf points to, forgot to note that earlier. I tried with new jail with everything inside and the same jail.conf, but with no success. I will try tomorrow with new FreeBSD installation in Hyper-V without any jail and PF. |
Beta Was this translation helpful? Give feedback.
-
|
I've tested Netatalk 4.4.0 on fresh installation of FreeBSD 15 and it worked fine. I tried setting some jail parameters like At this point I may have to give up and setup a FTP server instead, but I still hope someone could help me figure this out. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've setup a Netatalk server on my FreeBSD system inside a jail. I managed to configure networking and everything looks to work fine on that part, but for some reason I can't login with my user.
I tried using different UAMs but only guest login allowed me to show available volumes and mount them. Trying with DHX2 and clear text just fail with connection error and I can't figure out anything from verbose logs, connection just stops somewhere during authentication.
I though that something may be wrong with my user or PAM or maybe the afppasswd, but nothing seems to work, I don't see any PAM errors in syslog nor using account without any login restrictons ( /bin/sh as shell with home folder ). Thinkering with afppasswd and permissions also didn't seemed to work.
I've given logs, afp.conf and my jail config since I really don't know what's wrong. I've setup Netatalk in similar fashion around 2 or 3 years ago when my box was running Debian unstable and my PowerMac connection without a hassle under both Classic 9.2.2 and OS X 10.4.11. I hope someone more experienced will help me.
logs-dhx2.txt
logs-cleartxt.txt
logs-guest.txt
afp_conf.txt
jail_conf.txt
Beta Was this translation helpful? Give feedback.
All reactions