gss_acquire_cred_impersonate_name & gss_init_sec_context does File Read (krb5.conf) on every request

Rahul G rahulrasm at gmail.com
Sat Jun 3 19:37:10 EDT 2017


Hello,

I noticed that the functions gss_acquire_cred_impersonate_name() &
gss_init_sec_context() does a file read
from krb5.conf (krb5.ini in windows) for reading realm information on every
request.
It seems like the OS has a limit on how many concurrent threads can read
the same file and this limits on
how many concurrent threads can call these functions.

Is there any flag that I can set, so that the file is read only once.
If there is no way then it would be great if any one can point me to the
function that does this file read.

Thank You,
Rahul.


More information about the kfwdev mailing list