Hello,
I have two machines (Samba under Linux, and Win98) that try to connect
to another samba machine. They are all two seen as UNKNOWN
machines. With the Linux one, I am correctly authenticated, but with
the Win98, Connections are rejected.
Here is a level 3 log file (It's a bit long, sorry). As you can see,
there is an ERRNO = Connection reset by peer
Thanks.
[2003/01/26 18:37:54, 6] param/loadparm.c:lp_file_list_changed(2213)
lp_file_list_changed()
file /etc/samba/smb.tourcd.conf -> /etc/samba/smb.tourcd.conf last
mod_time: Sun Oct 6 14:25:52 2002
file /etc/samba/smb.conf.%a -> /etc/samba/smb.conf.UNKNOWN last mod_time:
Thu Jan 1 01:00:00 1970
file /etc/samba/smb.conf.UNKNOWN modified: Sun Oct 6 14:25:52 2002
[2003/01/26 18:37:54, 5] param/loadparm.c:free_service(1773)
free_service: Freeing service homes
[2003/01/26 18:37:54, 5] param/loadparm.c:free_service(1773)
free_service: Freeing service printers
[2003/01/26 18:37:54, 5] param/loadparm.c:free_service(1773)
free_service: Freeing service tmp
[2003/01/26 18:37:54, 5] param/loadparm.c:free_service(1773)
free_service: Freeing service appli
[2003/01/26 18:37:54, 5] param/loadparm.c:free_service(1773)
free_service: Freeing service netlogon
[2003/01/26 18:37:54, 5] param/loadparm.c:free_service(1773)
free_service: Freeing service IPC$
[2003/01/26 18:37:54, 5] param/loadparm.c:free_service(1773)
free_service: Freeing service ADMIN$
[2003/01/26 18:37:54, 3] param/loadparm.c:init_globals(1219)
Initialising global parameters
[2003/01/26 18:37:54, 3] param/params.c:pm_process(577)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf"
[2003/01/26 18:37:54, 3] param/loadparm.c:do_section(2944)
Processing section "[global]"
doing parameter workgroup = abuledu
doing parameter netbios name = servecole
[2003/01/26 18:37:54, 4] param/loadparm.c:handle_netbios_name(2261)
handle_netbios_name: set global_myname to: SERVECOLE
doing parameter server string = servecole
doing parameter hosts allow = 192.168.1.0/255/255.255.0
192.168.0.0/255.255.255.0 127.
doing parameter load printers = yes
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 50
doing parameter security = user
doing parameter smb passwd file = /etc/samba/smbpasswd
doing parameter include = /etc/samba/smb.conf.%a
[2003/01/26 18:37:54, 3] param/params.c:pm_process(577)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf.UNKNOWN"
doing parameter encrypt passwords = yes
doing parameter socket options = TCP_NODELAY
doing parameter local master = yes
doing parameter os level = 33
doing parameter domain master = yes
doing parameter preferred master = yes
doing parameter domain logons = yes
doing parameter logon script = demar%a.bat
doing parameter logon path = \\%L\netlogon
doing parameter name resolve order = host wins lmhosts bcast
doing parameter wins support = yes
doing parameter dns proxy = yes
doing parameter preserve case = yes
doing parameter short preserve case = yes
doing parameter default case = lower
doing parameter min passwd length = 1
[2003/01/26 18:37:54, 2] param/loadparm.c:do_section(2962)
Processing section "[homes]"
doing parameter comment = Repertoire perso
doing parameter browseable = no
doing parameter writable = yes
doing parameter create mask = 0755
[2003/01/26 18:37:54, 2] param/loadparm.c:do_section(2962)
Processing section "[printers]"
doing parameter comment = All Printers
doing parameter path = /var/spool/samba
doing parameter browseable = yes
doing parameter guest ok = yes
doing parameter writable = no
doing parameter printable = yes
doing parameter print command = lpr-cups -P %p -o raw %s
[2003/01/26 18:37:54, 2] param/loadparm.c:do_section(2962)
Processing section "[tmp]"
doing parameter comment = Repertoire temporaire
doing parameter path = /tmp
doing parameter public = yes
doing parameter writable = yes
doing parameter browseable = yes
[2003/01/26 18:37:54, 2] param/loadparm.c:do_section(2962)
Processing section "[appli]"
doing parameter comment = Repertoire d'applications
doing parameter path = /home/appli
doing parameter public = yes
doing parameter writable = yes
doing parameter browseable = yes
doing parameter write list = abuladmin
[2003/01/26 18:37:54, 2] param/loadparm.c:do_section(2962)
Processing section "[netlogon]"
doing parameter comment = Logon Service
doing parameter path = /home/netlogon
doing parameter public = yes
doing parameter writable = yes
doing parameter browseable = no
doing parameter write list = admin
doing parameter include = /etc/samba/smb.tourcd.conf
[2003/01/26 18:37:54, 3] param/params.c:pm_process(577)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.tourcd.conf"
[2003/01/26 18:37:54, 4] param/loadparm.c:lp_load(3400)
pm_process() returned Yes
[2003/01/26 18:37:54, 3] param/loadparm.c:lp_add_ipc(1942)
adding IPC service IPC$
[2003/01/26 18:37:54, 3] param/loadparm.c:lp_add_ipc(1942)
adding IPC service ADMIN$
[2003/01/26 18:37:54, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_KEEPALIVE = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_REUSEADDR = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_BROADCAST = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option TCP_NODELAY = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option IPTOS_LOWDELAY = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option IPTOS_THROUGHPUT = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_SNDBUF = 16384
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_RCVBUF = 87380
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_SNDLOWAT = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_RCVLOWAT = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_SNDTIMEO = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_RCVTIMEO = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_KEEPALIVE = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_REUSEADDR = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_BROADCAST = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option TCP_NODELAY = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option IPTOS_LOWDELAY = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option IPTOS_THROUGHPUT = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_SNDBUF = 16384
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_RCVBUF = 87380
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_SNDLOWAT = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_RCVLOWAT = 1
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_SNDTIMEO = 0
[2003/01/26 18:37:54, 5] lib/util_sock.c:print_socket_options(109)
socket option SO_RCVTIMEO = 0
[2003/01/26 18:37:54, 5] lib/hash.c:hash_table_init(68)
Hash size = 521.
[2003/01/26 18:37:54, 5] smbd/connection.c:claim_connection(156)
claiming 0
[2003/01/26 18:37:54, 0] lib/util_sock.c:get_socket_addr(997)
getpeername failed. Error was Transport endpoint is not connected
[2003/01/26 18:37:54, 5] smbd/reply.c:reply_special(151)
init msg_type=0x81 msg_flags=0x0
[2003/01/26 18:37:54, 6] lib/util_sock.c:write_socket(518)
write_socket(13,4)
[2003/01/26 18:37:54, 0] lib/util_sock.c:write_socket_data(500)
write_socket_data: write failure. Error = Connection reset by peer
[2003/01/26 18:37:54, 6] lib/util_sock.c:write_socket(521)
write_socket(13,4) wrote -1
[2003/01/26 18:37:54, 0] lib/util_sock.c:write_socket(523)
write_socket: Error writing 4 bytes to socket 13: ERRNO = Connection reset by
peer
[2003/01/26 18:37:54, 0] lib/util_sock.c:send_smb(688)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2003/01/26 18:37:54, 3] smbd/sec_ctx.c:set_sec_ctx(313)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/01/26 18:37:54, 5] smbd/uid.c:change_to_root_user(215)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/01/26 18:37:54, 2] smbd/server.c:exit_server(458)
Closing connections
[2003/01/26 18:37:54, 3] smbd/connection.c:yield_connection(48)
Yielding connection to
[2003/01/26 18:37:54, 3] smbd/server.c:exit_server(492)
Server exit (process_smb: send_smb failed.
)
--
Groupe Morbihannais d'Utilisateurs de Logiciels Libres
http://tuxbihan.apinc.org
Prot?gez votre vie priv?e (GNU Privacy Guard) http://www.gnupg.org
Patrick Percot.