Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: ronaldjayr_jover on November 09, 2005, 02:14:44 PM

Title: Samba Security Inquiry
Post by: ronaldjayr_jover on November 09, 2005, 02:14:44 PM
Hi everyone!!!

Just want toa ask on how I can set the Samba server to deny a client on a certain department to open,edit and copy in the other departments files.

Thanks in advance.

 :D  :D  :D
Title: Samba Security Inquiry
Post by: gauravbajaj on November 14, 2005, 06:28:59 AM
u can use the parameters in smb.conf file

like
write = yes
readonly = no
browsable = yes

and u can use chmod command also, better to go for some tutorials



Gaurav
Title: Samba Security Inquiry
Post by: ronaldjayr_jover on November 16, 2005, 06:58:15 AM
followup question sir,

 Im confused on wheter to use :

     force group = aaaa

            or

      read only = @aaaa

  on giving aaaa(group) a read only access to a certain files on a samba server.
Title: Samba Security Inquiry
Post by: gauravbajaj on November 16, 2005, 09:34:20 AM
Actually  to give read only access u have to give
 read only = yes

if u r using the group for that, means the meaning of  force group = aaaa
means the members of the group aaa have all the permission on that share

Gaurav
Title: Samba Security Inquiry
Post by: ronaldjayr_jover on November 17, 2005, 02:26:03 AM
good day!!!

  Thanks for the reply Gaurav...

  what if i dont want that group to have a write permission on that share?, should i write :

------------------------------
   [ FILE ]

path = /FILE
read only = no
browseable = yes
force group = aaaa
write list = mw

------------------------------

is my smb.conf conflicting? i have a aaaa group that i only want to view /FILE but only me can write to /FILE..


Thank you!
Title: Samba Security Inquiry
Post by: gauravbajaj on November 17, 2005, 10:31:25 AM
for that u have to enable option
read only = yes

Gaurav