context, do not allow for environment variables to specify
configuration files.
Note: It is still possible to bypass the secure flag by directly calling
krb5_aprof_init which only krb5kdc does.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6929
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Oct 5 12:06:35 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * alt_prof.c (krb5_read_realm_params): If secure flag is set in
+ context, do not allow for environment variables to specify
+ configuration files.
+
Tue Sep 26 02:31:38 1995 Mark Eichin <eichin@cygnus.com>
* adm_conn.c (kadm_get_creds): zero out creds->server after
filename = (kdcprofile) ? kdcprofile : DEFAULT_KDC_PROFILE;
envname = (kdcenv) ? kdcenv : KDC_PROFILE_ENV;
+
+ if (kcontext->profile_secure == TRUE) envname = 0;
+
rparams = (krb5_realm_params *) NULL;
if (realm)
lrealm = strdup(realm);