From f191e21f174dab5255cf7933fcf0b94fd49ca4a9 Mon Sep 17 00:00:00 2001 From: tholo Date: Fri, 3 May 1996 18:18:56 +0000 Subject: [PATCH] Make it possible to have a commented-out local realm in krb.conf to allow using Kerberos for remote authentication but not for local authentication --- kerberosIV/krb/get_krbrlm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerberosIV/krb/get_krbrlm.c b/kerberosIV/krb/get_krbrlm.c index d6892a2ddfe..36e8549b14d 100644 --- a/kerberosIV/krb/get_krbrlm.c +++ b/kerberosIV/krb/get_krbrlm.c @@ -67,5 +67,5 @@ krb_get_lrealm(r, n) return(KFAILURE); } (void) fclose(cnffile); - return(KSUCCESS); + return(*r == '#' ? KFAILURE : KSUCCESS); } -- 2.20.1