Received: from serrano.cc.columbia.edu (IDENT:cu41754@serrano.cc.columbia.edu [128.59.29.6]) by krbdev.mit.edu (8.12.9) with ESMTP id l9A3MTHW008199; Tue, 9 Oct 2007 23:22:29 -0400 (EDT) Received: from [192.168.1.103] ([72.25.145.6]) (user=jaltman mech=PLAIN bits=0) by serrano.cc.columbia.edu (8.14.1/8.14.1) with ESMTP id l9A3MRgj012998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 9 Oct 2007 23:22:28 -0400 (EDT) Message-ID: <470C460E.9090403@mit.edu> Date: Tue, 09 Oct 2007 21:25:02 -0600 From: Jeffrey Altman User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: rt@krbdev.mit.edu Subject: Re: [krbdev.mit.edu #5784] need krb5_set_config_files on windows References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-No-Spam-Score: Local X-Scanned-BY: MIMEDefang 2.48 on 128.59.29.6 RT-Send-Cc: X-RT-Original-Encoding: iso-8859-1 Content-Length: 1134 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.