Situational Deadlock in Samba 3.0.1

Volker.Lendecke at SerNet.DE Volker.Lendecke at SerNet.DE
Mon Jan 26 16:24:47 GMT 2004


On Mon, Jan 26, 2004 at 06:50:57AM -0800, Esh, Andrew wrote:
> I have a repeatable test which gets an smbd process stuck in a condition
> where it won't ever let a client reconnect. The test reboots a host that is
> running Samba, and leaves a Windows client running which had been connected
> to the host. Afterward, the Windows client appears to have retained some
> connection state which Samba is unaware of, and Samba won't accept the state.
> Here is the log message I am seeing:
> 
> [2004/01/22 15:46:17, 2, pid=4193, effective(0, 0), real(0, 0)] smbd/uid.c:change_to_user(141)
>   change_to_user: Invalid vuid used 101 or vuid not permitted access to share.

This happens upon a Tree Connect? A tcon without a session setup before?

It sounds a bit strange that a Windows machine will set up a fresh tcp
connection and *not* do a normal smb session setup including negprot, sesssetup
and tcon in that order.

What we would need is a complete debug level 10 log.smbd and a capture of the
traffic between the windows machine and the Samba machine. The complete traffic
might be important, as something in the way the former connection was turned
down (or not properly turned down) might trigger that behaviour.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20040126/b90900e0/attachment.bin


More information about the samba-technical mailing list