Memory Leak problems with krb5_get_init_creds_password?

Jeffrey Altman jaltman2 at nyc.rr.com
Wed Aug 17 08:07:40 EDT 2005


Chet Burgess wrote:

> It is important to note that even if you have the
> REALM and KDC(s) listed in the file properly the library will still
> try DNS first, so you MUST add "dns_fallback = false" to turn off the
> resolver calls.

I am fairly sure that DNS is not used in preference to the configuration
data in the krb5.conf file.   However, the library probably calls the
resolver library init routine prior to making a request.

Are you suggesting that calling res_init() repeatedly from the same
thread results in a memory leak?



More information about the Kerberos mailing list