# Samba DenyMode DENY\_READ

**URL:** <https://forums.suse.com/t/samba-denymode-deny-read/22821>\
**Category:** SLES Networking\
**Created:** [July 5, 2012, 9:27pm UTC](https://forums.suse.com/t/samba-denymode-deny-read/22821 "2012-07-05T21:27:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeanFromIT](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@SeanFromIT](https://forums.suse.com/u/SeanFromIT)\
**Post date:** [July 5, 2012, 9:27pm UTC](https://forums.suse.com/t/samba-denymode-deny-read/22821/1 "2012-07-05T21:27:04Z")

</div>

Building a new system. We have tried turning every locking setting to off in smb.conf but we still see DENY\_READ when users’ software asks to lock files. This results in others users being unable to also read the file simultaneously. We overrode this behavior on a previous system only using locking = no.

smb.conf:  
[global]  
locking = no  
workgroup = SHORT  
realm = [SHORT.MYDOMAIN.COM](http://SHORT.MYDOMAIN.COM)  
netbios name = %L  
name resolve order = lmhosts hosts wins bcast  
security = ADS  
auth methods = winbind  
password server = dmcontroller1 dmcontroller2  
max log size = 500  
max xmit = 65535  
os level = 0  
preferred master = No  
local master = No  
domain master = No  
ldap ssl = no  
winbind use default domain = yes  
winbind nested groups = yes  
winbind separator = +  
comment = %h (Samba %v)  
hosts allow = 192.168.1. 192.168.2.  
hide dot files = No  
host msdfs = No  
syslog = 3  
username map = /etc/samba/smbusers

[share]  
path = /path/to/share  
read only = No  
directory mask = 0775  
force group = mygroup  
case sensitive = No  
vfs objects = full\_audit  
full\_audit:prefix = ^%h^%T^%u^%g^%U^%G^%D^%I^%m^%M^%S  
full\_audit:success = mkdir rename unlink rmdir open close chmod chown  
full\_audit:failure = mkdir rename unlink rmdir open close chmod chown  
full\_audit:facility = LOCAL7  
full\_audit:priority = NOTICE

The samba versions are identical between the working and non-working systems:  
samba3-winbind-3.5.9-44.suse111  
samba3-3.5.9-44.suse111  
samba3-client-3.5.9-44.suse111

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [July 12, 2012, 3:30pm UTC](https://forums.suse.com/t/samba-denymode-deny-read/22821/2 "2012-07-12T15:30:42Z")

</div>

SeanFromIT,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)
