Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Netatalk 3.0.4, bizarre file issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CaptainRabies
n00b
n00b


Joined: 13 Sep 2012
Posts: 13

PostPosted: Mon Oct 14, 2013 6:58 pm    Post subject: Netatalk 3.0.4, bizarre file issues Reply with quote

I'm using avahi + netatalk for a (primarily Time Machine) file server for my OSX boxen. I am able to use it flawlessly from OSX 10.6.8, but whenever I try to connect from my laptop (10.8.4), one of two things happens:

1) I can login and see the shared directories, but when I click on any, no files are shown within them(even though there are). I cannot create any folders or copy files, I get an error.
2) I can see files within the directories, and even copy files to them, but the moment I try to access one, the Finder hangs and I get a spinning rainbow volleyball of doom.

Both of these options make me unable to disconnect from the server. I'm forced to restart to get out, not even disconnecting from the network fixes it (probably some shitty apple code there).

My afp.conf is simple:
Code:

; Netatalk 3.x configuration file

[Global]
; Global server settings
uam list = uams_dhx2.so

; [Homes]
basedir regex = /
cnid scheme = dbd

; [My AFP Volume]
; path = /path/to/volume

[GentooBox]
path = AllData/backups
time machine = yes
valid users = me


I've played around a bit with the uam list, deleted the standard dhx since 10.7 did away with that option. Also tried uams_dhx2_passwd.so. So far, no luck.
I've snooped around the internet, and I can't find anyone else with my specific problem. So, I've come to the gurus.
Is there anything on the netatalk side of things that could be causing this?
_________________
Addendum to Murphy's Law: Everything has already gone wrong, you just don't know about it yet.
Back to top
View user's profile Send private message
weyerma
n00b
n00b


Joined: 26 Dec 2005
Posts: 11

PostPosted: Fri Oct 25, 2013 9:09 am    Post subject: Reply with quote

try this:

in afp.conf:
basedir regex = /home/

in AppleVolumes.default:

~ "$u" options:upriv dperm:0711 fperm:0600 umask:0066 volcharset:UTF8


then create the directories /home/$youruser with permissions 0711

or let them create on with pam:

/etc/pam.d/netatalk:

session required pam_mkhomedir.so skel=/etc/templates/AWDCH/home umask=0066


Greetings
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum