[Samba] Samba Shares With only Partial Access

E Hines eehines at comcast.net
Sun Apr 24 00:50:12 GMT 2005

I have a 2Win2k, 1Linux (server) LAN; the server is running FC3 and 
Samba 3.0.14a.  I am unable to get both users access to their individual 
shares.  Essentially, I'm working through the Accounting Office example 
(pgs 31-35) of John Terpstra's 2004 Samba-3 By Example, and I'm doing 
something foolish and wrong on a basic level.  I can get access to, and 
manipulate the files in, my share (ehines), but neither I, nor the other 
user, can get access to the other share (ahines).  That I cannot access 
the other share is correct by the example, but the other user just gets 
an Access Denied error when trying to access her share (the ahines share).

 From the Linux box, she can access her share directly (cd and ls both 
work), but from her Win2k box, she gets the above error.  From my Win2k 
box, I see "archive" (the parent directory of the shared directory, and 
the parent share of the "files" share) and  "files" (the subordinate 
share) inside lserver1 (lserver1 is the Linux box), and "archive on 
lserver1" up above directly inside My Network Places.  From her Win2k 
box, she sees only lserver1 in MNP, she can see down into her ahines 
share, but she cannot access that.  If this isn't clear, the directory 
structure of the shares is /archive/ehines and /archive/ahines).  Logins 
and pass words inside smbpasswd match those on our respective Win2k boxes.

Further, when either of us tries to access the share "files," we just 
get an incorrect login error and a dialog box inviting us to enter our 
login and password again.

Any help would be very much appreciated.  My smb.conf follows, and I 
apologize for the long-ish post.

# Global parameters
        workgroup = ASTRA_ENT
        server string = Samba Server
        log file = /var/log/samba/log.smbd
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        show add printer wizard = No
        dns proxy = No
        wins support = Yes
        ldap ssl = no

        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

        comment = Backup Parent Node
        path = /archive
        valid users = ehines
        read only = No

        comment = ML-1450
        path = /var/spool/samba
        read only = No
        guest ok = Yes
        printable = Yes
        printer name = ML-1450
        use client driver = Yes
        browseable = No
        oplocks = No
        share modes = No

        comment = The actual backups
        path = /archive/%U
        valid users = %S
        read only = No

More information about the samba mailing list