ticket: 1657
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15683
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-07-11 Alexandra Ellwood <lxs@mit.edu>
+
+ * RealmsConfig-glue.c: Don't fail when krb5.conf is valid
+ and krb.conf isn't. Also, don't assert v4 realm is in profile
+ unless that realm is a valid v4 realm.
+
2003-07-10 Alexandra Ellwood <lxs@mit.edu>
* RealmsConfig-glue.c: krb_get_lrealm fix so that if there is no
if (!profileErr) {
if (strlen (profileDefaultRealm) < REALM_SZ) {
profileHasDefaultRealm = 1; /* a reasonable default realm */
+ } else {
+ profileErr = KFAILURE;
}
}
if (strlen(scratch) < REALM_SZ) {
strncpy(krbConfLocalRealm, scratch, REALM_SZ);
krbConfHasLocalRealm = 1;
- } else {
- result = KFAILURE; /* Invalid config file! */
}
}
fclose(cnffile);