[HELP] Problem with oplocks break failed
Aldyth Maharsha
demhyt at gmail.com
Wed Aug 24 05:01:02 UTC 2011
Hi list, i'm have trouble with oplocks break failed for file xxx
I'm using samba running in ubuntu natty 11.04 with separate ldap server :
:~# dpkg -l | grep samba
ii libcrypt-smbhash-perl 0.12-3
generate LM/NT hash of a password for samba
ii samba 2:3.5.8~dfsg-1ubuntu2.2
SMB/CIFS file, print, and login server for Unix
ii samba-common 2:3.5.8~dfsg-1ubuntu2.2
common files used by both the Samba server and client
ii samba-common-bin 2:3.5.8~dfsg-1ubuntu2.2
common files used by both the Samba server and client
ii samba-doc 2:3.5.8~dfsg-1ubuntu2.2 Samba
documentation
My problems is strange, when user open file(office file like excel, word)
directly from server it is normal but whe user close that file it is
extremely slow. But copy files from and to samba server is normal, just
"stream" office file from server. Only some user have trouble like that, not
all of user and some file like that not all of office file. It is very
strange for me because just some user(2 user exactly from 100++ user) and
some file office if i'm close that it is extremely slow not all office file.
Samba log :
smbd/oplock.c:322(oplock_timeout_handler)
Oplock break failed for file Copy of DOORPRIZE.xls -- replying anyway
smb.conf :
[global]
workgroup = AAA
netbios name = SUNKO08
security = user
enable privileges = yes
server string = %h server
encrypt passwords = Yes
unix password sync = yes
ldap passwd sync = yes
passwd program = /usr/sbin/smbldap-passwd -u "%u"
passwd chat = "Changing *\nNew password*" %n\n "*Retype new
password*" %n\n"
log level = 0
syslog = 0
log file = /var/log/samba/log.%U
max log size = 100000
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
mangling method = hash2
Dos charset = CP932
Unix charset = UTF-8
logon script = logon.bat
logon drive = H:
logon home =
logon path =
domain logons = Yes
domain master = Yes
os level = 65
preferred master = Yes
wins support = yes
passdb backend = ldapsam:ldap://sunko02.sunko.local/
ldap admin dn = cn=admin,dc=sunko,dc=local
ldap suffix = dc=sunko,dc=local
ldap group suffix = ou=groups
ldap user suffix = ou=people
ldap machine suffix = ou=computer
add user script = /usr/sbin/smbldap-useradd -m "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -t 0 -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
"%g"
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
admin users = domainadm
ldap ssl = no
load printers = Yes
create mask = 0640
directory mask = 0750
nt acl support = No
printing = cups
printcap name = cups
deadtime = 10
guest account = nobody
map to guest = Bad User
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
show add printer wizard = yes
preserve case = yes
short preserve case = yes
case sensitive = no
Any idea from my case?..thanks before :-)
Best Regards,
Aldyth M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20110824/1fc10203/attachment.html>
More information about the ubuntu-server
mailing list