[samba-tng] dce/rpc "thread" context

Luke Kenneth Casson Leighton lkcl at samba.org
Tue Feb 8 17:15:53 GMT 2000


> Doing this sort of thing will indeed allow you to have one set of MSRPC
> daemons for all smbds running (as opposed to one set of MSRPC daemons
> for _each_ smbd). This will result in a huge gain in resources and
> performance.
> 
> But, If I remember correctly, the context_id you're talking about is a
> 16-bit item. How do you plan to uniquely map two larger items (PID &
> VUID) from disparate instances of smbd into these 16-bit context_ids?

haha, aha!  :) the DCE/RPC "bind / bind-ack" sequence contains an unused
32-bit field, called "assoc_gid".  i'm overloading this with the smbd pid

:)



More information about the samba-technical mailing list