[1752] in Kerberos_V5_Development
Re: kadmin doesn't work if you don't setenv KRB5_CONFIG
daemon@ATHENA.MIT.EDU (Mark Eichin)
Tue Sep 10 01:35:16 1996
To: "Barry Jaspan" <bjaspan@MIT.EDU>
Cc: tytso@MIT.EDU, jcb@cygnus.com, krbcore@MIT.EDU
From: Mark Eichin <eichin@cygnus.com>
Date: 10 Sep 1996 01:34:57 -0400
In-Reply-To: "Barry Jaspan"'s message of Tue, 10 Sep 1996 00:14:54 -0400
This two-line change should suffice; I haven't tested it yet, still
building...
cvs diff -u -p alt_prof.c
Index: alt_prof.c
===================================================================
RCS file: /cvs/cvsfiles/krb5/lib/kadm/alt_prof.c,v
retrieving revision 1.2
diff -u -p -r1.2 alt_prof.c
--- alt_prof.c 1996/07/24 22:20:23 1.2
+++ alt_prof.c 1996/09/10 05:20:23
@@ -62,9 +62,8 @@ krb5_aprof_init(fname, envname, acontext
}
}
}
- namelist[0] = fname;
profile = (profile_t) NULL;
- if (!(kret = profile_init(namelist, &profile))) {
+ if (fname && !(kret = profile_init_path(fname, &profile))) {
*acontextp = (krb5_pointer) profile;
return(0);
}