problem with linux smb

Taking care of your Linux box.
zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

problem with linux smb

Postby zeeshan1979 » Tue Dec 23, 2008 10:49 am

Dear All

i am using linux smb server but when i give the read and right permission to the folder then generate the files e.g *.cmd, *.pif, *.exe and one auto files.kindly guide me how can i stop to generate these files.
beacuse these files are harmfull to microsoft clients and its slow down the performance of our server.


Syed.Zeeshan

shakirz1
Battalion Quarter Master Havaldaar
Posts: 207
Joined: Sat Aug 09, 2003 5:00 pm
Location: Karachi
Contact:

Postby shakirz1 » Tue Dec 23, 2008 1:12 pm

add this parameter in your smb.conf

veto files = /*.eml/*.exe/*.scr/*.pif

zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

smb

Postby zeeshan1979 » Tue Dec 23, 2008 2:45 pm

first thankx to reply and dear where is add this line in squid.conf.

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Tue Dec 23, 2008 8:32 pm

how much do you make, zeeshan?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

smb

Postby zeeshan1979 » Wed Dec 24, 2008 9:17 am

lambda wrote:how much do you make, zeeshan?


dear lambda

i can't understand your words.

zeeshan1979
Naik
Posts: 66
Joined: Fri Jun 30, 2006 1:47 pm
Location: karachi
Contact:

Re: smb

Postby zeeshan1979 » Wed Dec 24, 2008 9:18 am

i just ask where i add these lines.

veto files = /*.eml/*.exe/*.scr/*.pif

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Wed Dec 24, 2008 3:59 pm

you put them in the section for the share you want to protect. read the man page for smb.conf.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 2 guests