[Samba] Weird errors in logfile for 2.2.5

Martin MOKREJŠ mmokrejs at natur.cuni.cz
Thu Sep 26 14:31:01 GMT 2002


Hi,
  I see some wird messages in samba's logfile on Solaris 2.6. Could anyone
explain me what's that? I think some hostanmes and usernames are just missing.

[2002/09/25 19:17:33, 3] smbd/oplock.c:init_oplocks(1211)
  open_oplock_ipc: opening loopback UDP socket.
[2002/09/25 19:17:33, 3] lib/util_sock.c:open_socket_in(813)
  bind succeeded on port 0
[2002/09/25 19:17:33, 3] smbd/oplock.c:init_oplocks(1241)
  open_oplock ipc: pid = 17874, global_oplock_port = 40682
[2002/09/25 19:17:33, 4] lib/time.c:get_serverzone(114)
  Serverzone is -7200
[2002/09/25 19:17:33, 10] lib/util_sock.c:read_data(430)
  read_data: read of 4 returned 0. Error = Error 0
[2002/09/25 19:17:33, 10] lib/util_sock.c:receive_smb(609)
  receive_smb: length < 0!
[2002/09/25 19:17:33, 3] smbd/process.c:timeout_processing(1102)
  end of file from client
[2002/09/25 19:17:33, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/25 19:17:33, 5] smbd/uid.c:change_to_root_user(216)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/09/25 19:17:33, 2] smbd/server.c:exit_server(461)
  Closing connections
[2002/09/25 19:17:33, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to
[2002/09/25 19:17:33, 3] smbd/connection.c:yield_connection(61)
  yield_connection: tdb_delete for name  failed with error Record does not exist.
[2002/09/25 19:17:33, 5] smbd/oplock.c:receive_local_message(108)
  receive_local_message: doing select with timeout of 1 ms
[2002/09/25 19:17:33, 3] smbd/server.c:exit_server(495)
  Server exit (normal exit)

BTW: When smbd was started, I see:

  doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

but, later on I see:

[2002/09/25 12:19:42, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 8192
[2002/09/25 12:19:42, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 32768
[...]
[2002/09/25 13:37:45, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 8192
[2002/09/25 13:37:45, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 8760

Were the values ignored?


And last:

[2002/09/25 19:17:36, 3] smbd/oplock.c:init_oplocks(1241)
  open_oplock ipc: pid = 17876, global_oplock_port = 40684
[2002/09/25 19:17:36, 4] lib/time.c:get_serverzone(114)
  Serverzone is -7200
[2002/09/25 19:17:36, 10] lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 68
[2002/09/25 19:17:36, 10] lib/access.c:check_access(302)
  check_access: allow = 195.113.56.0/255.255.255.0 195.113.57.0/255.255.255.0 195.113.58.0/255.255.255.0 195.113.59.0/255.255.255
.0 195.113.46.0/255.255.255.0 195.113.47.0/255.255.255.0, deny =
[2002/09/25 19:17:36, 3] lib/access.c:check_access(318)
  check_access: no hostnames in host allow/deny list.
[2002/09/25 19:17:36, 0] lib/access.c:check_access(331)
  Denied connection from  (66.50.2.57)
[2002/09/25 19:17:36, 1] smbd/process.c:process_smb(869)
  Connection denied from 66.50.2.57
[2002/09/25 19:17:36, 6] lib/util_sock.c:write_socket(518)
  write_socket(12,5)
[2002/09/25 19:17:36, 6] lib/util_sock.c:write_socket(521)
  write_socket(12,5) wrote 5
[2002/09/25 19:17:36, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/25 19:17:36, 5] smbd/uid.c:change_to_root_user(216)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/09/25 19:17:36, 2] smbd/server.c:exit_server(461)
  Closing connections
[2002/09/25 19:17:36, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to
[2002/09/25 19:17:36, 3] smbd/connection.c:yield_connection(61)
  yield_connection: tdb_delete for name  failed with error Record does not exist.
[2002/09/25 19:17:36, 5] smbd/oplock.c:receive_local_message(108)
  receive_local_message: doing select with timeout of 1 ms
[2002/09/25 19:17:36, 3] smbd/server.c:exit_server(495)
  Server exit (connection denied)

It seems some routines proceed even where there's not connection
established, right? :(
-- 
Martin Mokrejs <mmokrejs at natur.cuni.cz>, <m.mokrejs at gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585




More information about the samba mailing list