Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to setup a samba server following these:

Advanced Disk Shares


The idea is to only allow one account, one collection opening a file at once.

If another connection tried to open the same file, samba denies.

I tried locking=yes, locks=yes, oplocks=yes and combinations, didn't work as expected.

Is this possible at all with Samba 3.x ?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.