<br>Hi list, i'm have trouble with oplocks break failed for file xxx<br><div class="gmail_quote"><br>I'm using samba running in ubuntu natty 11.04 with separate ldap server :<br><br>:~# dpkg -l | grep samba<br>ii libcrypt-smbhash-perl 0.12-3 generate LM/NT hash of a password for samba<br>
ii samba 2:3.5.8~dfsg-1ubuntu2.2 SMB/CIFS file, print, and login server for Unix<br>ii samba-common 2:3.5.8~dfsg-1ubuntu2.2 common files used by both the Samba server and client<br>
ii samba-common-bin 2:3.5.8~dfsg-1ubuntu2.2 common files used by both the Samba server and client<br>ii samba-doc 2:3.5.8~dfsg-1ubuntu2.2 Samba documentation<br>
<br>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.<br>
<br>Samba log :<br><br> smbd/oplock.c:322(oplock_timeout_handler)<br> Oplock break failed for file Copy of DOORPRIZE.xls -- replying anyway<br><br><br>smb.conf :<br>[global]<br> workgroup = AAA<br> netbios name = SUNKO08<br>
security = user<br> enable privileges = yes<br> server string = %h server<br> encrypt passwords = Yes<br> <br> unix password sync = yes<br> ldap passwd sync = yes<br> passwd program = /usr/sbin/smbldap-passwd -u "%u"<br>
passwd chat = "Changing *\nNew password*" %n\n "*Retype new password*" %n\n"<br><br> log level = 0<br> syslog = 0<br> log file = /var/log/samba/log.%U<br> max log size = 100000<br>
time server = Yes<br> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192<br> dns proxy = no<br> mangling method = hash2<br> Dos charset = CP932<br> Unix charset = UTF-8<br>
logon script = logon.bat<br> logon drive = H:<br> logon home =<br> logon path =<br> domain logons = Yes<br> domain master = Yes<br> os level = 65<br> preferred master = Yes<br>
wins support = yes<br> passdb backend = ldapsam:ldap://sunko02.sunko.local/<br> ldap admin dn = cn=admin,dc=sunko,dc=local<br> ldap suffix = dc=sunko,dc=local<br> ldap group suffix = ou=groups<br>
ldap user suffix = ou=people<br> ldap machine suffix = ou=computer<br> add user script = /usr/sbin/smbldap-useradd -m "%u"<br> delete user script = /usr/sbin/smbldap-userdel "%u"<br>
add machine script = /usr/sbin/smbldap-useradd -t 0 -w "%u"<br> add group script = /usr/sbin/smbldap-groupadd -p "%g"<br> delete group script = /usr/sbin/smbldap-groupdel "%g"<br>
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"<br> delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"<br> set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'<br>
admin users = domainadm<br> ldap ssl = no<br> load printers = Yes<br> create mask = 0640<br> directory mask = 0750<br> nt acl support = No<br> printing = cups<br> printcap name = cups<br>
deadtime = 10<br> guest account = nobody<br> map to guest = Bad User<br> dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd<br> show add printer wizard = yes<br> preserve case = yes<br>
short preserve case = yes<br> case sensitive = no<br><br>Any idea from my case?..thanks before :-)<br><br>Best Regards,<br>Aldyth M<br><br>
</div><br>