(Locking?) problem with Samba 2.2.2, Win2kSP2

Jurjen Oskam jurjen at quadpro.stupendous.org
Tue Nov 6 00:33:03 GMT 2001


Hi all,

I have the following problem.

A Linux (2.2.19) machine is running Samba 2.2.2 as a PDC. The clients
are Win2K SP2. A user accesses several Excel 2000 files on a share. This
sometimes results in long(ish) delays (the user reports around 10 seconds,
although this could be longer) and the message from Excel that the file
is in use and can only be read. After closing and re-opening the file, it
works fine.


The complete smbd level 2 logfile is (only first line omitted "assuming -D"):

[2001/11/06 07:59:35, 0] smbd/nttrans.c:call_nt_transact_ioctl(1762)
  call_nt_transact_ioctl: Currently not implemented.
[2001/11/06 08:04:26, 0] lib/util_sock.c:read_socket_data(478)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2001/11/06 08:05:01, 0] rpc_server/srv_netlog.c:api_net_sam_logon(208)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2001/11/06 08:05:01, 0] rpc_server/srv_pipe.c:api_rpcTNP(1204)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2001/11/06 08:17:59, 0] smbd/service.c:make_connection(565)
  l0005 (192.168.1.53) Can't change directory to /export/fibit (Permission
denied)
[2001/11/06 08:22:06, 0] smbd/oplock.c:oplock_break(786)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file 2002/financien/Fibit4.xls (dev = 90b, inode
= 750904).
[2001/11/06 08:22:06, 0] smbd/oplock.c:oplock_break(859)
  oplock_break: client failure in oplock break in file
2002/financien/Fibit4.xls
[2001/11/06 08:22:07, 0] smbd/reply.c:reply_lockingX(4413)
  reply_lockingX: Error : oplock break from client for fnum = 5367 and no
oplock granted on this f
hannibal:~ # tail /var/log/log.smbd
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2001/11/06 08:17:59, 0] smbd/service.c:make_connection(565)
  l0005 (192.168.1.53) Can't change directory to /export/fibit (Permission
denied)
[2001/11/06 08:22:06, 0] smbd/oplock.c:oplock_break(786)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file 2002/financien/Fibit4.xls (dev = 90b, inode
= 750904).
[2001/11/06 08:22:06, 0] smbd/oplock.c:oplock_break(859)
  oplock_break: client failure in oplock break in file
2002/financien/Fibit4.xls
[2001/11/06 08:22:07, 0] smbd/reply.c:reply_lockingX(4413)
  reply_lockingX: Error : oplock break from client for fnum = 5367 and no
oplock granted on this
+file (2002/financien/Fibit4.xls).



-- 
      Jurjen Oskam * http://www.stupendous.org/ for PGP key * Q265230
    9:17am  up 9 days, 10 min,  1 user,  load average: 0.00, 0.00, 0.00




More information about the samba mailing list