CVS update: samba/source/rpc_client

Elrond elrond at samba.org
Thu Jul 6 01:15:17 EST 2000


Date:	Thursday July 6, 2000 @ 1:15
Author:	elrond

Update of /data/cvs/samba/source/rpc_client
In directory samba:/tmp/cvs-serv1844

Modified Files:
      Tag: SAMBA_TNG
	cli_connect.c 
Log Message:
Okay, this is a "workaround" for the following problem:

* smb-client connects to a pipe (netlogon)
* smbd forwards that
*      opens a loopback-connection
* smb-client does a pipe-bind
* smb-client connects to a share.
* smbd wants to authenticate the request using netlogon
* smbd connects to netlogon via loopback
* smbd notices an already existing connection, wants to
  reuse it
* reuses it, but
* (rpc_client) sees, that this is an already open pipe and
  assumes, the pipe-bind has already happened.
* --> pipe-bind is missing
* --> packt-sizes are not know

Okay, workaround is:

* rpc_client always does a pipe-bind on loopback, even on a
  reused connection, so the *rpcd gets more than one
  pipe-bind, but this seems to work.





More information about the samba-cvs mailing list