sharma via RT wrote: > Hi > > Actually I am looking for krb5_init_context_with_config_files like > functionality. If krb5.conf or krb5.ini files are available in my > application's private directory, I would like to use these files for > Kerberos context initialization. > > Last month I was looking into Kerberos source code to implement the > functionality discussed above. I used krb5_init_context followed by > krb5_set_config_files calls that only works on UNIX systems. There are some > problems on Windows system like krb5_set_config_files API is not exported > and even after exporting this API manually, the krb5_init_context always > needs krb5.ini file in C:\WINDOWS directory. This is not true. The %WinDir% directory is the default directory but you can specify any directory you want either via the registry or process environment variables. > I have few more questions [Kerberos compilations, some memory leaks, static > and dynamic library compilation], let me know whether I can discuss with you > or create bug reports. On Windows, there is no static compilation option; only dynamic libraries are supported.