PDA

View Full Version : Samba DenyMode DENY_READ



SeanFromIT
05-Jul-2012, 19:27
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
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

Automatic reply
12-Jul-2012, 13:30
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 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)

Be sure to read the forum FAQ about what to expect in the way of responses:
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