diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1997-12-09 09:07:10 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1997-12-09 09:07:10 +0000 |
commit | 52ad171b21ca9d3e381b5c743ec0688d5922d786 (patch) | |
tree | e40fcddbc48cfa72fa1ef1950ffb1938355f5c30 /kerberosIV/krb/get_krbrlm.c | |
parent | 8009bdcf4c83d53d00e6cfcf6b93c5b7c529390c (diff) |
always those small bugs..
Diffstat (limited to 'kerberosIV/krb/get_krbrlm.c')
-rw-r--r-- | kerberosIV/krb/get_krbrlm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kerberosIV/krb/get_krbrlm.c b/kerberosIV/krb/get_krbrlm.c index 11de4231b19..8bbb3f35de6 100644 --- a/kerberosIV/krb/get_krbrlm.c +++ b/kerberosIV/krb/get_krbrlm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: get_krbrlm.c,v 1.9 1997/12/09 07:57:17 art Exp $ */ +/* $OpenBSD: get_krbrlm.c,v 1.10 1997/12/09 09:07:07 art Exp $ */ /* $KTH: get_krbrlm.c,v 1.16 1997/05/02 01:26:22 assar Exp $ */ /* @@ -73,7 +73,7 @@ krb_get_lrealm(char *r, int n) return(KFAILURE); /* Temporary restriction */ /* First try user specified file */ - if (dir != 0 && getuid() != geteuid()) { + if (dir != 0 && !issetugid()) { char fname[MAXPATHLEN]; if(k_concat(fname, sizeof(fname), dir, "/krb.conf", NULL) == 0) if (krb_get_lrealm_f(r, n, fname) == KSUCCESS) |