Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to setup a samba for file sharing in my intranet, but I want to know if there is any way to prohibit some kind of files (e.g *.exe) uploaded to the share folder? And I want to know if there is any way to force the user to change the password for the first time login?

share|improve this question

migrated from stackoverflow.com Jan 8 '13 at 17:27

This question came from our site for professional and enthusiast programmers.

    
This is not a programming question. Better suited for serverfault.com Good luck. –  shellter Nov 25 '11 at 14:54
    
@shellter: Or SuperUser.com. I flagged it for SU. –  kbyrd Nov 25 '11 at 14:56
    
yes, that works too. Good luck to all. –  shellter Nov 25 '11 at 15:12
    
i will check, thanks a lot –  husean Nov 26 '11 at 14:16
    
Try to limit your questions to only one per post. –  MoonSire Jul 6 '13 at 18:37

1 Answer 1

The veto files configuration option might be what you are looking for to prevent certain files from being allowed.

Use it like this in the smb.conf: veto files = /*.extension1/*.extension2/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.