[samba-tng] dce/rpc "thread" context
Nicolas Williams
Nicolas.Williams at wdr.com
Tue Feb 8 17:35:50 GMT 2000
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.
Nico
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
More information about the samba-technical
mailing list