Kerberos options requiring restart

Started by Magnus Haganderabout 17 years ago3 messages
#1Magnus Hagander
magnus@hagander.net

The kerberos configuration options (krb_caseinsens_users, krb_realm,
krb_server_keyfile, krb_srvname, krb_server_hostname) are all set as
PGC_POSTMASTER. From what I can see, the only places where kerberos code
is called is from ClientAuthentication().

That means these parameters shouldn't need to be PGC_POSTMASTER, to
they? Or am I missing something here?

//Magnus

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Magnus Hagander (#1)
Re: Kerberos options requiring restart

Magnus Hagander <magnus@hagander.net> writes:

The kerberos configuration options (krb_caseinsens_users, krb_realm,
krb_server_keyfile, krb_srvname, krb_server_hostname) are all set as
PGC_POSTMASTER. From what I can see, the only places where kerberos code
is called is from ClientAuthentication().

That means these parameters shouldn't need to be PGC_POSTMASTER, to
they? Or am I missing something here?

Hmmm ... I think at one time there was some kerberos initialization
done at postmaster start, but it sure doesn't look like there is
anymore. So we could probably make all of these SIGHUP.

regards, tom lane

#3Magnus Hagander
magnus@hagander.net
In reply to: Tom Lane (#2)
Re: Kerberos options requiring restart

Tom Lane wrote:

Magnus Hagander <magnus@hagander.net> writes:

The kerberos configuration options (krb_caseinsens_users, krb_realm,
krb_server_keyfile, krb_srvname, krb_server_hostname) are all set as
PGC_POSTMASTER. From what I can see, the only places where kerberos code
is called is from ClientAuthentication().

That means these parameters shouldn't need to be PGC_POSTMASTER, to
they? Or am I missing something here?

Hmmm ... I think at one time there was some kerberos initialization
done at postmaster start, but it sure doesn't look like there is
anymore. So we could probably make all of these SIGHUP.

That's what I figured - that, or that it at least preloaded something in
the postmaster...

I'll see about changing them.

//Magnus