[Samba] Share Access

Gary Dale garydale at torfree.net
Fri May 5 03:37:39 GMT 2006


The Linux case is easy. You are using Linux /Unix user names. When you 
attempt to connect from Windows however, you are using a Windows user 
name. This needs to map to a Linux / Unix user name.

It's more common to use group privileges on shares with Windows, so 
putting your Windows users in groups and mapping them to Linux / Unix 
groups would also work.



Donald W Watson wrote:

>
>
>Could someone help me understand if what I'm seeing with share access is
>correct?
>
>On my samba domain I have two users (user1 and user2) and one share; the
>share has attribute "writelist = user1".
>
>On a linux machine I:
>   mount the share with "mount -t cifs -o username=user1"
>   successfully open a  file in the share for writing with the perl "open"
>   function
>   close the file
>   umount the share
>   mount the share with "mount -t cifs -o username=user2"
>   unsuccessfully attempt to open a file in the share for writing with the
>   perl "open" function
>   umount the share
>This is, I think, as expected.
>
>However, on Windows2003, I:
>   connect the share as user1
>   unsuccessfully attempt to open the file for writing with vim
>This seems inconsistent with the results on linux, and not what I expected.
>
>Am I misinterpreting the expected results?  Thanks for any responses.
>
>Sincerely,    Don Watson
>Linux Technology and Solutions; Beaverton, OR
>503-578-4861/TL: 775-4861; dwatson at us.ibm.com
>  
>



More information about the samba mailing list