[Samba] Home Directory Winbind
Tim Hodgkinson
tim.hodgkinson at skibanff.com
Thu Sep 16 16:39:01 GMT 2004
Greetings,
Trying to find a solution to creating home directories by using winbind. Have this setup:
/etc/pam.d/system-auth:
session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0077
With smb.conf:
# Global parameters
[global]
workgroup = domain
server string = Monarch Server
security = DOMAIN
map to guest = Bad User
obey pam restrictions = Yes
password server = server
log level = 3
syslog = 0
log file = /var/log/samba/%m
max log size = 50
name resolve order = wins lmhosts host bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
preferred master = No
local master = No
domain master = No
dns proxy = No
wins server = 172.16.1.100,
idmap uid = 10000-20000
idmap gid = 10000-20000
template homedir = /home/users/%U
winbind separator = +
winbind use default domain = Yes
read only = No
hosts allow = 172., 127.
[homes]
comment = %U Directories
path = /homes/users/%U
browseable = No
Winbind creates the directory in /home/users/:
drwx------ 2 thodgkinson Domain Users 4096 Sep 15 16:25 thodgkinson
The problem is that I can not access the directory when browsing to it.
tail /var/log/samba/blah:
'/homes/users/thodgkinson' does not exist or is not a directory, when connecting to [thodgkinson]
Where have I gone wrong? Ideas?
Cheers,
Tim
More information about the samba
mailing list