Konstantin Minevsky
2010-Nov-20 05:13 UTC
[Samba] Samba doesn't create user profiles on the fly
Hi there! I've got Samba server running on CentOS box. Everything works fine when I use "path" parameter, but I think Samba should create /home dirs for clients automatically. It should look like this: comment = Home Directory of '%u' valid users = @"Domain Group" browseable = no writable = yes create mask = 0600 directory mask = 0700 "smbclient -L //sambaserver" shows that homedir exists, but still it's not possible to mount it. Here's the output for user "test" Sharename Type Comment --------- ---- ------- homes Disk Home Directory of 'test' test Disk Home Directory of 'test' When I explicitly declare "path" param, it works ok. But I need PERSONAL home dir for every user separately, not one dir for everyone. Maybe I'm doing something wrong. Any suggestions? Best regards, Konstantin
Miguel Medalha
2010-Nov-20 17:04 UTC
[Samba] Samba doesn't create user profiles on the fly
> comment = Home Directory of '%u' > valid users = @"Domain Group" > browseable = no > writable = yes > create mask = 0600 > directory mask = 0700I suppose it should be: valid users = %S Otherwise, you will be granting access to a whole group instead of only to the directory owner.