| > A customer has created a multi-threaded DCE application using GSSAPI.
>
> Within each thread of the application, it performs a DCE login for
> different principals. What she found out was that "a DCE login context
> has affect on the whole process meaning that if thread_1 performs DCE
> login for principal A. When thread_2 performs DCE login for
> principal B, thread_2 also changes thread_1's login context from
> principal A to principal B.
>
> The customer would like to know if it is possible to
> have each thread have a different login context ?
This isn't specific to GSSAPI - it's part of standard DCE security
behavior.
It's possible for a program to maintain multiple login contexts, but
there can be only one "default context", which applies to the entire
process.
It sounds as though the customer could write the program to use
explicit context-handles rather than trying to use the default handle.
The program will have to use the sec_login API; dce_login can only set
the default login context.
John
|