[20162] in Kerberos_V5_Development
Re[2]: krb5_init_context()
daemon@ATHENA.MIT.EDU (Chris Hecker)
Thu Sep 3 04:00:53 2020
From: "Chris Hecker" <checker@d6.com>
To: "Alexandr Nedvedicky" <alexandr.nedvedicky@oracle.com>,
"Scot McKinley"
<scot.mckinley@oracle.com>
Date: Thu, 03 Sep 2020 08:00:32 +0000
Message-ID: <em5de41ea6-18e7-4704-b07b-3f814bb5d714@checker-t530>
In-Reply-To: <20200903073059.GT24537@tbd>
MIME-Version: 1.0
Cc: krbdev@mit.edu
Reply-To: Chris Hecker <checker@d6.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
Here's a thread from a long time ago about this:
https://groups.google.com/forum/#!topic/comp.protocols.kerberos/V7T-Q4BBrvc
Chris
------ Original Message ------
From: "Alexandr Nedvedicky" <alexandr.nedvedicky@oracle.com>
To: "Scot McKinley" <scot.mckinley@oracle.com>
Cc: krbdev@mit.edu
Sent: 2020-09-03 00:30:59
Subject: Re: krb5_init_context()
>Hello,
>
>On Wed, Sep 02, 2020 at 09:08:28PM -0700, Scot McKinley wrote:
>> Hi Greg, in looking at the header files, and your previous reply, it
>> appears that krb5_init_secure_context() may be exactly what i want.
>>
>> > I don't think it will solve this problem, as it simply causes the
>> context to ignore environment variables.
>>
>> Yes, i want a "krb5_init_context" that "ignores environment variables",
>> and thus retrieves its config in some other manner. In this case, it
>> appears that the "other manner" of retrieving config for
>> "krb5_init_secure_context" is some configuration files, which is a
>> problem, since we have our OWN config files.
>>
>> This is strange. Isn't there a way to "init" a krb5 library context just
>> by *PASSING* the config directly to the init funciton?!?
>>
>
> perhaps you want to build your own kerberos library and ship it with
> your application. The default location of krb5.conf is driven by
> --sysconfdir autoconf option. the default krb5.conf location is defined
> and compile time.
>
>regards
>sasha
>_______________________________________________
>krbdev mailing list krbdev@mit.edu
>https://mailman.mit.edu/mailman/listinfo/krbdev
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev