I have the lasted sAmba insattlled onensuse 13.1. When my user logons, they have access to two home directory. Here is my code
robshal@linux-7y31:~> less /etc/samba/smb.conf
smb.conf is the main Samba configuration file. You find a full commented
version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
samba-doc package is installed.
[global]
workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = no
unix password sync = yes
passwd program = /usr/bin/passwd %u
inherit permissions = yes
bind interfaces only = yes
browseable = yes
[homes]
comment = Home Directories
path = /home/%u
valid users = %S, %D%w%S
browseable = Yes
read only = No
inherit acls = Yes
#[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
#[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
#[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[share folder]
path = /home/shares/
writable = yes
browseable = yes
guest ok = no
guest only = only
directory mode = 0770
/etc/samba/smb.conf lines 20-55/55 (END)