[samba-tng] dce/rpc "thread" context
Luke Kenneth Casson Leighton
lkcl at samba.org
Tue Feb 8 17:49:47 GMT 2000
On Tue, 8 Feb 2000, Nicolas Williams wrote:
> On Wed, Feb 09, 2000 at 04:15:53AM +1100, Luke Kenneth Casson Leighton wrote:
> > > 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
> > :)
> Well, ok. You're set then. VUIDs are local to each smbd so you can make
> sure that assoc_gid/context_ids always maps exactly to PID/VUID.
> If this is part of how MSRPC/DCE/RPC is supposed to work, then go for it.
i really don't know, to be honest,i'm trying to find out. this only
really applies for the unix-socket ncalrpc [the dce/rpc name for
loop-back] implementation, anyway.
More information about the samba-technical