LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-04-2011, 12:46 AM   #1
cnt
LQ Newbie
 
Registered: Aug 2011
Location: cg,india
Posts: 20

Rep: Reputation: Disabled
veto file in samba


i added

[patra]
path = /home/patra
writeable = yes
; browseable = yes
valid users = patra
veto files = /*.msi/*.exe/*.mp3/*.bat/*.com/*.dll/*.lnk/*.asd/*.shb/*.vb/*.wsf/*.wsh/*.pif/*.scr/*.chm/*.hta/*.shs/*.vbs/*.vbe/*.js/*.jse/*.wmv/*.3gp/*.avi/*.mp4/*.ini/

in my smb.conf file.

then also samba share dir contains exe/ini file.is it not working?
 
Old 08-04-2011, 08:57 AM   #2
omgs
Member
 
Registered: Dec 2010
Posts: 64

Rep: Reputation: 6
After applying the line, can you browse via a cifs client files matching the criteria? Does it happen with any of the extensions, or just some of them? What version of samba are you using?
 
Old 07-08-2018, 10:14 PM   #3
fahmi
LQ Newbie
 
Registered: Jul 2018
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by omgs View Post
After applying the line, can you browse via a cifs client files matching the criteria? Does it happen with any of the extensions, or just some of them? What version of samba are you using?
Hi,
Choosing the correct extension could help to avoid temporary file being deleted and unable to save Office doc into samba. In this veto section, DO NOT apply *.tmp to be blocked, or it will blocking Office doc task.

ERROR: file has been moved, deleted, or NOT found. log says,

"NT_STATUS_OBJECT_NAME_NOT_FOUND"

Thought it was due to recycle bin setting. (Pls properly check this as well)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make samba read updated smb.conf file without restarting samba anon091 Linux - Newbie 13 06-30-2021 04:43 AM
[SOLVED] Where is samba password file - need to list samba users explorer Slackware 8 04-06-2011 05:26 PM
Samba veto files alexsil Linux - Newbie 0 03-10-2011 03:04 PM
LXer: Google fights the Hollywood tech veto LXer Syndicated Linux News 0 05-21-2010 07:00 AM
Samba - Veto Help Dmjmusser Linux - Networking 3 02-07-2006 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration