Another quick Samba Question

Carl Yost Jr. carlyos at Buffalo.com
Tue Jun 25 16:16:54 EDT 2002


many thanks for the info again!




---------- Original Message ----------------------------------
From: Justin Bennett <justin.bennett at dynabrade.com>
Reply-To: nflug at nflug.org
Date: 25 Jun 2002 16:15:15 -0400

>Pretty much. Samba controls the share access. and individual files can
>be given diffrent permissions under each share on the linux file system
>level.
>
>
>On Tue, 2002-06-25 at 15:52, Carl Yost Jr. wrote:
>> Ok so the Samba end of it is more for who can actually see and map the shares in windows itself, and the hard core secruity end of it comes from Linux? That sound about right ?
>> 
>> 
>> 
>> 
>> ---------- Original Message ----------------------------------
>> From: Justin Bennett <justin.bennett at dynabrade.com>
>> Reply-To: nflug at nflug.org
>> Date: 25 Jun 2002 15:37:56 -0400
>> 
>> >Yeah the file security is the most important for files and directories.
>> >I can have a share ,my home directory, that is read right for me but a
>> >file in it that is owned by root and I can't delete it from windows. I
>> >use samba level security for who can map the share, and whether it's
>> >full access or read only to which users. 
>> >
>> >Example: (@ means group).
>> >
>> >valid users = @mis, john (who can map the share)
>> >write list = @auto, @eng (who can write to the share (if file security
>> >agrees)
>> >
>> >But then I control file and directory access with the file permissions
>> >in linux.  In samba you can force users and groups as well as
>> >permissions of newly created files. 
>> >
>> >force group = eng
>> >create mode = 0666
>> >force directory mode = 0777
>> >
>> >On Tue, 2002-06-25 at 15:16, Carl Yost Jr. wrote:
>> >> Where does the final say in the security for the folder lay in samba shares? Is it the options you put into samba when you create the share such as users, groups, etc.... Or is it what security you have set for the folder in Linux itself. I am just confused because unless I go to the console and set the security there, nothing I seem to set under samba makes a difference. I have security set for user, I have the samba acting as a PDC. Is that pretty much how it works? Linux itself controls the security in the end ? Any help would be greatly appreciated. Hopefully someone understands what I asked ;).
>> >> 
>> >> 
>> >>  Carl
>> >> 
>> >> --
>> >> This message has been scanned for viruses and
>> >> dangerous content by Dynabrade using Mailscanner,
>> >> and is believed to be clean.
>> >-- 
>> >-------------------------------------------
>> >Justin Bennett
>> >Red Hat (Linux) Certified Engineer
>> >Network Administrator
>> >Dynabrade Inc.
>> >8989 Sheridan Dr
>> >Clarence, NY 14031
>> >716-631-0100 ext 215
>> >
>> 
>> --
>> This message has been scanned for viruses and
>> dangerous content by Dynabrade using Mailscanner,
>> and is believed to be clean.
>-- 
>-------------------------------------------
>Justin Bennett
>Red Hat (Linux) Certified Engineer
>Network Administrator
>Dynabrade Inc.
>8989 Sheridan Dr
>Clarence, NY 14031
>716-631-0100 ext 215
>



More information about the nflug mailing list