oplock_break errors - XP clients & 2.2.3a server

Olaf Fr±czyk olaf at cbk.poznan.pl
Tue Mar 19 02:09:03 GMT 2002


On 2002.03.14 18:48:37 +0100 Stuart Freedman wrote:
> Hi folks.  I hope I'm addressing the correct forum here, since this
> appears to be a bug rather than an RTFM issue.  (BTW, I appreciate all
> the work the Samba team have been doing over the years.  Thank you all!)
> 
> I currently manage a Linux (kernel v. 2.2.18) box running 2.2.3a
> functioning as PDC & "almost everything server" on a small office LAN
> with most clients now running XP Professional.  I'm surprised I haven't
> seen more complaints from the users, but I did get a complaint about
> "access denied" to a file & found a corresponding set of error messages
> in the log.smbd (BTW, my log level is 1):
> 
> [2002/03/13 11:54:13, 0] smbd/oplock.c:oplock_break(758)
>   oplock_break: receive_smb error (Success)
>   oplock_break failed for file [file path]
> (dev = 301, inode = 315075, file_id = 651).
> [2002/03/13 11:54:13, 0] smbd/oplock.c:oplock_break(843)
>   oplock_break: client failure in break - shutting down this smbd.
> [2002/03/13 11:54:13, 1] smbd/service.c:close_cnum(655)
>   [machine name] (192.168.1.8) closed connection to service shared
> [2002/03/13 11:54:13, 1] smbd/service.c:close_cnum(655)
>   [machine name] (192.168.1.8) closed connection to service [username]
> 
Hi,
I have similar problem with Win2k. Not with NT. And other people have it with other Windows versions.
Take a look at 'TDB corruption' related messages.
I'm interested mostly in:
  read_socket_with_timeout: timeout read. select timed out.

Do you have similar entries in log (debug level = 10):

[2002/03/14 17:52:47, 3] smbd/process.c:switch_message(667)
  switch message SMBtrans2 (pid 14803)
[2002/03/14 17:52:47, 2] smbd/process.c:switch_message(678)
  switch_message: queueing message due to being in oplock break state.
[2002/03/14 17:52:47, 3] smbd/oplock.c:initial_break_processing(491)
  initial_break_processing: called for dev = 812, inode = 1011404 file_id = 12
  Current oplocks_open (exclusive = 1, levelII = 0)
[2002/03/14 17:53:17, 10] lib/util_sock.c:read_socket_with_timeout(274)
  read_socket_with_timeout: timeout read. select timed out.
[2002/03/14 17:53:17, 10] lib/util_sock.c:receive_smb(611)
  receive_smb: length < 0!
[2002/03/14 17:53:17, 0] smbd/oplock.c:oplock_break(758)
  oplock_break: receive_smb error (Success)
  oplock_break failed for file FakturyRachunki/FakturyVAT/Fv02/FV01_02.xls (dev = 812, inode = 1011404, file_id = 12).
[2002/03/14 17:53:17, 10] smbd/uid.c:uid_to_sid(569)
  uid_to_sid: local 500 -> S-1-5-21-4025225232-3245382995-618269260-2000
[2002/03/14 17:53:17, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 600 -> S-1-5-21-4025225232-3245382995-618269260-2201
[2002/03/14 17:53:17, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 503 -> S-1-5-21-4025225232-3245382995-618269260-2007
[2002/03/14 17:53:17, 10] smbd/uid.c:gid_to_sid(597)
  gid_to_sid: local 602 -> S-1-5-21-4025225232-3245382995-618269260-2205
[2002/03/14 17:53:17, 5] smbd/password.c:create_nt_token(255)
  user token sid S-1-5-21-4025225232-3245382995-618269260-2000
[2002/03/14 17:53:17, 5] smbd/password.c:create_nt_token(255)
  user token sid S-1-5-21-4025225232-3245382995-618269260-2201
[2002/03/14 17:53:17, 5] smbd/password.c:create_nt_token(255)
  user token sid S-1-5-21-4025225232-3245382995-618269260-2007
[2002/03/14 17:53:17, 5] smbd/password.c:create_nt_token(255)
  user token sid S-1-5-21-4025225232-3245382995-618269260-2205
[2002/03/14 17:53:17, 5] smbd/password.c:create_nt_token(255)
  user token sid S-1-1-0
[2002/03/14 17:53:17, 5] smbd/password.c:create_nt_token(255)
  user token sid S-1-5-2
[2002/03/14 17:53:17, 5] smbd/password.c:create_nt_token(255)
  user token sid S-1-5-11
[2002/03/14 17:53:17, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (500, 600) - sec_ctx_stack_ndx = 0
[2002/03/14 17:53:17, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  3 user groups: 
  503 600 602 
[2002/03/14 17:53:17, 5] smbd/uid.c:change_to_user(201)
  change_to_user uid=(0,500) gid=(0,600)
[2002/03/14 17:53:17, 0] smbd/oplock.c:oplock_break(843)
  oplock_break: client failure in break - shutting down this smbd.

Regards,

Olaf Fraczyk






More information about the samba-technical mailing list