[Samba] user home dir

M Azer azermina at gmail.com
Wed Jan 17 23:08:21 GMT 2007


I still can't create the user home directory while creating the user account
under win2003 AD. once i put the path in for the home directory
"\\server\%username%" i get "the home folder could not be created because:
the network name cannot be found"
I am sure somebody must came across creating users home before - can anybody
help please
smb.conf
[global]
        security = ADS
        workgroup = CAD
        realm = CAD.TESTDOMAIN
        netbios name = itbox
        preferred master = no
        password server = 192.168.1.6
        client use spnego = yes
        server signing = auto
        encrypt passwords = yes
        nt acl support = no
        obey pam restrictions = yes
        winbind separator = +
        idmap uid = 1000-20000
        idmap gid = 1000-20000
        winbind enum users = yes
        winbind enum groups = yes
        winbind use default domain = yes
        winbind cache time = 0
        winbind nested groups = yes
        template homedir = /home/%D/%U
        template shell = /bin/bash
        log file = /var/log/samba/%m.log
        log level = 3
        max log size= 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        hosts allow = 192.168.1. 192.168.0. 127.
[homes]
        comment = Home Directories
        read only = No
        browseable = No
        directory mask = 0700
        create mask = 0700


More information about the samba mailing list