Added a SMB_ASSERT() so that two cli_state structures aren't opened
commit657804f3be2b621c8ee15bdb905879e208f9ca2f
authorTim Potter <tpot@samba.org>
Fri, 4 May 2001 07:25:43 +0000 (4 07:25 +0000)
committerTim Potter <tpot@samba.org>
Fri, 4 May 2001 07:25:43 +0000 (4 07:25 +0000)
treeb8092d3b76ee85d0d5089f51ace8fdd981d16c76
parent23427a57da8b18506bbd970e5d7491c0917f6d06
Added a SMB_ASSERT() so that two cli_state structures aren't opened
on different pipes.  This seriously confuses NT.  Unfortunately HEAD
branch is limited to one rpc pipe per connection as the fnum is stored
inside the cli_state structure.  It should really be broken out into
it's own structure so multiple pipes can be opened on one TCP/IP socket.

What a good idea!  But look over here! I've already done it in another
workarea but it will require a day or two to refactor some of the internal
samba rpc client stuff (i.e netlogon requests) so it will remain uncommitted
for another while.
source/rpc_client/cli_pipe.c