2.0.7 and W2K weirdness

Travis J. McKay tmckay at sabin.hslib.washington.edu
Tue Jun 27 00:45:42 GMT 2000


Hello all,

I am having some strange problems with W2K boxes connecting to a
particular installation of samba 2.0.7.  NT4 clients can connect to this
machine just fine, but W2K clients eventually get the message:  

"\\SHARENAME is not accessible.  The specified network name is no longer
available."

The machine in question is a HP C160 workstation, running HPUX 10.20.
What makes this problem even stranger is that another HP box also running
HPUX 10.20 works just fine with W2K connections (this was tried with both
2.0.6 and 2.0.7).

I have simplified the smb.conf file down, it is basicly the same as the
working HP box only with more logging turned on.  Following the diagnostic
procedures, it fails on test 8 from the W2K box.

Below are excerpts from both the smb.conf file and the relevant portion of
the log.smb file.  I hope someone can shed some light on this perplexing
situation.  Any suggestions would be appreciated.

Thanks in advance.

Regards,
Travis McKay

--- Begin smb.conf  ---
[global]
        workgroup = SOMENTDOMAIN
        server string = Samba 2.0.7 on HP-UX 10.20
        security = DOMAIN
        encrypt passwords = Yes
        password server = *
        restrict anonymous = Yes
        debug level = 3
        time server = Yes
        wins server = xxx.xx.xxx.xxx
        create mask = 0775
        hosts allow = xxx.xx. xxx.xxx.
--- End smb.conf ---

--- Begin log.smb snipplets ---
[2000/06/26 17:34:31, 0] lib/util_sock.c:set_socket_options(151)
  Failed to set socket option SO_KEEPALIVE (Error Invalid argument)
[2000/06/26 17:34:31, 0] lib/util_sock.c:set_socket_options(151)
  Failed to set socket option TCP_NODELAY (Error Invalid argument)
[2000/06/26 17:34:31, 3] locking/shmem_sysv.c:sysv_shm_open(707)
  Initialised IPC area of size 1048576
[2000/06/26 17:34:31, 2] smbd/server.c:main(746)
  Changed root to /
[2000/06/26 17:34:31, 3] smbd/oplock.c:open_oplock_ipc(86)
  open_oplock_ipc: opening loopback UDP socket.
[2000/06/26 17:34:31, 3] lib/util_sock.c:open_socket_in(875)
  bind succeeded on port 0
[2000/06/26 17:34:31, 3] smbd/oplock.c:open_oplock_ipc(114)
  open_oplock ipc: pid = 20982, global_oplock_port = 2267
[2000/06/26 17:34:31, 0] lib/util_sock.c:client_name(999)
  getpeername failed. Error was Invalid argument
[2000/06/26 17:34:31, 0] lib/util_sock.c:client_addr(1045)
  getpeername failed. Error was Invalid argument
[2000/06/26 17:34:31, 0] lib/access.c:check_access(262)
[2000/06/26 17:34:31, 0] lib/util_sock.c:client_name(999)
  getpeername failed. Error was Invalid argument
[2000/06/26 17:34:31, 0] lib/util_sock.c:client_addr(1045)
  getpeername failed. Error was Invalid argument
  Denied connection from UNKNOWN (0.0.0.0)
[2000/06/26 17:34:31, 1] smbd/process.c:process_smb(611)
[2000/06/26 17:34:31, 0] lib/util_sock.c:client_addr(1045)
  getpeername failed. Error was Invalid argument
  Connection denied from 0.0.0.0
[2000/06/26 17:34:31, 0] lib/util_sock.c:write_socket_data(540)
  write_socket_data: write failure. Error = Broken pipe
[2000/06/26 17:34:31, 0] lib/util_sock.c:write_socket(566)
  write_socket: Error writing 5 bytes to socket 7: ERRNO = Broken pipe
[2000/06/26 17:34:31, 0] lib/util_sock.c:send_smb(754)
  Error writing 5 bytes to client. -1. Exiting
--- End log.smb snipplets ---



More information about the samba mailing list