[prev in list] [next in list] [prev in thread] [next in thread] 

List:       krb5-bugs
Subject:    Re: [krbdev.mit.edu #5784] need krb5_set_config_files on windows
From:       "Jeffrey Altman via RT" <rt-comment () krbdev ! mit ! edu>
Date:       2007-10-10 3:22:34
Message-ID: rt-5784-25510.4.11239093695237 () krbdev ! mit ! edu
[Download RAW message or body]

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.


_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic