[Samba] permission puzzle

Marc Fromm Marc.Fromm at wwu.edu
Wed Mar 26 20:39:17 GMT 2008


I created a share on windows with a windows user marc having access to
the share.

On the Linux machine I created two samba users marc and jim with
associated Linux accounts marc and jim.

On Linux I connect to the share on windows with the windows user marc
mount -t cifs //140.160.42.58/shareonwindows /cddrive -o username=marc

I made cddrive a samba share on the Linux box by entering it into the
smb.conf file

On a second windows computer I map a network drive to the cddrive samba
share on Linux using the samba user marc. User marc can create and
delete files.

Here is the puzzle:
On the second windows computer I can map a network drive to the cddrive
samba share on Linux using the samba user jim and create and delete
files.
There is not a jim account on the windows computer where the windows
share is located. If I adjust the share settings on the windows share
for the windows user marc, both samba users marc and jim are affected
equally. Example: on the windows share I only allow marc to read, then
neither samba marc nor jim on the second windows computer can create a
file.

Marc




Marc Fromm
Information Technology Specialist II
Financial Aid Department
Western Washington University
Phone: 360-650-3351
Fax:   360-788-0251



More information about the samba mailing list