keytab file to be overridden by an environment variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6953
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Oct 9 19:05:24 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * ktdefname.c (krb5_kt_default_name): If profile_secure flag is
+ set in the context then do not allow changing the location
+ of the default keytab with an environment variable.
+
Fri Oct 6 22:04:57 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in: Remove ##DOS!include of config/windows.in.
char *name;
int namesize;
{
- char *cp;
+ char *cp = 0;
- cp = getenv("KRB5_KTNAME");
+ if (context->profile_secure == FALSE) cp = getenv("KRB5_KTNAME");
if (cp) {
strncpy(name, cp, namesize);
if (strlen(cp) >= (size_t) namesize)