PDA

View Full Version : [all variants] samba strange behavior



ulver
April 2nd, 2009, 04:18 PM
I have one strange problem with samba and on question.
I have setup to share home dirs, but when I login with and user i see two directories, the "homes" directory and the "username" directory which point to /home/username. Ok now, does anyone know why are the two of those?
And can the Printers and Faxes be removed?
This is my smb.conf:



[global]
workgroup = softing
server string = softing shared
dns proxy = no
security = user
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes

[homes]
comment = Home Directories
browseable = yes
writable = yes
create mask = 0700
directory mask = 0700
valid users = %S

Sam Lars
April 3rd, 2009, 07:16 PM
The Homes sharing may share the whole /home directory as well...
And I would guess that you can remove the Printers section.