[20161] in Kerberos_V5_Development
Re: krb5_init_context()
daemon@ATHENA.MIT.EDU (Alexandr Nedvedicky)
Thu Sep 3 03:44:46 2020
Date: Thu, 3 Sep 2020 09:30:59 +0200
From: Alexandr Nedvedicky <alexandr.nedvedicky@oracle.com>
To: Scot McKinley <scot.mckinley@oracle.com>
Message-ID: <20200903073059.GT24537@tbd>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <18854aca-994d-9172-1511-c175e70c7eae@oracle.com>
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
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