[Samba] Access to home drive (Resolved)

Chandra Sornam chandra.sornam at stagecoach.co.nz
Thu Nov 30 02:30:45 GMT 2006

This is now been resolved. The problem is to do with the "valid users"
in the smb.conf file. Am running Samba Version 3.0.10-1.4E.9. Commenting
out this seems to have fixed the problem. Presume "valid users" only
work on samba versions 3.0.23 c and above. Dale, thanks again for your
-----Original Message-----
From: Dale Schroeder [mailto:dale at BriannasSaladDressing.com] 
Sent: Thursday, 30 November 2006 3:50 a.m.
To: chandra.sornam at stagecoach.co.nz; samba at lists.samba.org
Subject: Re: [Samba] Access to home drive
If you are using the 3.0.23 c or d version of Samba, one possibility is
to make the following change:
valid users = DOMAIN\%S (assuming that "\" is your winbind separator)
If you are using 3.0.23 --> 3.0.23b, you will have to get rid of the
"valid users" directive or upgrade to c or d.
If you're using some other version, then ???????

Good luck,

Chandra Sornam wrote: 
Hi Samba Experts
I raised this problem where its still waiting to be resolved. Would be
greatly appreciated if I can get some feedback. I did get a bit of help
but looked like it ended on the person's too hard basket.
Have installed Samba 3 on a Linux box with Centos OS to be a file
server. Getting its authentication from a NT4 PDC. Have created samba
shares and members of the NT4 PDC group can successfully access the
group. The only problem is users cannot authenticate their home share
the Linux server.
A webinfo -r of the domain user gives the uid of the group the user is a
member of. The user can access the share successfully as well.
Have gone through the smb.conf and other config files, and done
extensive search on the net to figure out the problem but have hit a
blank wall. There are no noticeable errors in the log files that I can
see either. 
Samba Config file as below
   workgroup = domain
        netbios aliases = test
        server string = test File Server
        security = DOMAIN
        password server = scnz-nt02 scnz-nt01
        client lanman auth = No
        client plaintext auth = No
        log file = /var/log/samba/%m.log
        max log size = 50
        smb ports = 139 445
        enable privileges = yes
        name resolve order = wins host lmhosts bcast
        server signing = auto
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        wins server =
        ldap ssl = no
        default service = files
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        winbind enum users = yes
        winbind enum groups = yes
        template shell = /bin/bash
        admin users = chansorn, nathmawk
        cups options = raw
        winbind use default domain = no
        comment = Home Directories
        path = /home/%U
        valid users = %S
        read only = No
        browseable = No
        writeable = yes
        create mode = 0775
        comment = AESData
        path = /data/AESData
        read only = no
        force directory mode = 0770

More information about the samba mailing list