We'll try this. Thanks. >>>>> "Sam" == Sam Hartman <hartmans at mit.edu> writes: Sam> The krb5 library is not thread safe. IN practice you may be able to Sam> simply put a mutex around context setup (gss_init_sec_context and Sam> gss_accept_sec_context) calls and be OK, but this is not guaranteed.