I need to initialize multiple krb5_context's in a multi-threaded program and each context *must* be initialized from a different config file.
krb5_init_context() seems to read config from /etc/krb5.conf or the file pointed to by KRB5_CONFIG. Setting the environment variable will not work since "env"is for the process, not the thread. I was wondering if there is a better way to do this, other than creating a mutex to set/get the KRB5_CONFIG env variable before each krb5_init_context. thanks R.K ________________________________________________ Kerberos mailing list [email protected] https://mailman.mit.edu/mailman/listinfo/kerberos
