Using a stub krb5.conf with "include"

John Devitofranceschi <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.general
Message-ID <[email protected]>
Greetings!

I would like to create an application specific krb5.conf where I can override some system-wide settings while still taking advantage of the rest.

As an example would something like this work if I wanted to define my own ccache location and name format?

% cat mykrb5.conf
[libdefaults]
default_ccache_name = FILE:/my_ccache_location/krbcc_%{uid}

include /etc/krb5.conf
EOF


I cannot find a description of the behaviour of the ‘include’ directive with respect to this kind of thing.  

If the system krb5.conf defines default_ccache_name, will my setting take precedence for my application when I set  KRB5_CONFIG=/my_config_location/mykrb5.conf in its environment?

Or, would i be better off using KRB5_CONFIG=/my_config_location/mykrb5.conf:/etc/krb5.conf and avoiding the use of the include directive?

Thanks in advance to any pointers, advice, or corrections,

jd

________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos
smime.p7s (application/pkcs7-signature, 4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.