smbd serves connects only when ran in interactive mode (-i)

Ashot Bord abord at chek.com
Mon Sep 13 17:39:30 GMT 2004


Here's the excerpts from log-files ( I set the SMBD debug level to 7), 
the smb.conf debug level I set to 0, to rule out additional disk IO related lags to write log-recs.

==============
log.smbd
------------
[2004/09/11 23:45:51, 0] DISK$DATA:[SAMBA-2_2_8-SRC.SOURCE.LIB]UTIL_SOCK.C;5:(1¦
  getpeername failed. Error was socket is not connected
==============
smbd_startup.log
--------------
Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
load_unicode_map: loading unicode map for codepage 850.
load_unicode_map: loading unicode map for codepage ISO8859-1.
loaded services
Open file "/samba_root/var/locks"  ->  "/samba_root/var/locks"
Open file /samba_root/var/locks in record mode
stm_read: request to read 62000 bytes
VMS file size /samba_root/var/locks, rfm = 2, size = 0
claiming  0
getpeername failed. Error was socket is not connected
Open file "/samba_root/private/HOME.VAXNODE.mac"  ->  
"/samba_root/private/HOME__2EVAXNODE.mac 
===============

notice the claiming 0, followed by getpeername failed msg -- that's where the difference is  
-- in interative mode, it gets the socket (no getpeername failed) and goes on with 
establishing the connection, in service mode it's about  the end.

what's so different in interactive mode about socket negotiation, than it is in service mode?

once again, the conf is simple and the connection works when mapping from VAX to VAX, even in service mode. The problem is with WIN to VAX in service mode.


AB




More information about the samba-vms mailing list