[Samba] Samba Authorizations

Tom Duerbusch DuerbuschT at stlouiscity.com
Tue Mar 31 18:21:50 GMT 2009

There is one little piece I'm missing.

I have a Samba directory:  /home/documents

I have 10 Window XP users that need R/W access to this directory.
I have another 10 Window XP users that need R/O access to this directory.
No other Windows users should be able to see this directory.

The R/W users will get access by doing a Windows Search, Computers, and click on the directory.  They may also map the directory to a drive letter, but that shouldn't be necessary.

Most R/O users will be accessing this directory via UNC (i.e. double click on a document name that is imbedded in another file).

I have a test Samba server.  The SMB.CONF is near bear minimums:

linux61:/etc/samba # cat smb.conf
# Samba config file created using SWAT
# from (
# Date: 2009/03/31 12:42:57

        workgroup = TESTWORKS
        netbios name = HOBBIT
        null passwords = Yes
        ldap ssl = no

        comment = cityworks read only
        path = /home/documents

linux61:/etc/samba #

I don't have a LDAP server, but that may change in late summer.

I seem to go back and forth between windows user having complete R/W access to this directory and no windows users having access to this directory.

It doesn't seem to matter if I create Linux userids with Yast.  Or if I create Samba users via SMBPASSWD.

I've been reading "The Officail Samba 3.2.x HOWTO and Reference Guide" as well as Samba-3 by Example.

They either have too simple of setup jump to a lot more complex of an example.

I've been maintaining this via SWAT.

So what really needs to be done?


Tom Duerbusch
THD Consulting

More information about the samba mailing list