logo       

Samba - veto on home folder: msg#03777

fedora-list

Subject: Samba - veto on home folder

Dear All,

How can I use the veto option for the user, such that users could not
save *.mp3 files in there home folder.
My home folder part of conf file is as follows :


[homes]
revalidate = yes
comment = Home Directories
writeable = yes
veto files =
/*.deb/*.rpm/*.mp3/*.mp4/*.dat/*.mpg/*.mpeg/*.avi/*.wmv/*.iso/*.nrg/*.bin/*.cue/*.exe/*.msi/*.dll/*.pif/*.scr/*.ini/*.bat/*.com/*.cmd/*.vb/*.vbs/*.inf/*.3gp/*.mov/*.rar/*.flv/DSC*.jpg/DSC*.jpeg/
delete veto files = yes
valid users = MYDOMAIN\%S


But still user can copy mp3 files in there home folders, than I added
the veto option in global section also as follows :

[global]
server string = new databank
smb passwd file = /etc/samba/smbpasswd
passdb backend = tdbsam
log file = /var/log/samba/log.%m
max log size = 50
delete veto files = Yes
veto files =
/*.deb/*.rpm/*.mp3/*.mp4/*.dat/*.mpg/*.mpeg/*.avi/*.wmv/*.iso/*.nrg/*.bin/*.cue/*.exe/*.msi/*.dll/*.pif/*.scr/*.ini/*.bat/*.com/*.cmd/*.vb/*.vbs/*.inf/*.3gp/*.mov/*.rar/*.flv/DSC*.jpg/DSC*.jpeg/



Can anybody help me how to restrict users from saving mp3 files in
there home folders .......................

Arun

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise