summaryrefslogtreecommitdiff
path: root/server/uloc.c
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>2000-01-22 13:36:02 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>2000-01-22 13:36:02 +0000
commitfd290afe3ff9446dd53d8c3cc02a1b1050f13f31 (patch)
treeb004cc1eeb1399191c59526d3110fd02f06bcae3 /server/uloc.c
parent64a2446748e507234f8af267eadacec639d73339 (diff)
Reinstate the policy that realm-visible locations cannot be seen by
unauthentic ulocate requests.
Diffstat (limited to 'server/uloc.c')
-rw-r--r--server/uloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/uloc.c b/server/uloc.c
index f47d61b..4ab909a 100644
--- a/server/uloc.c
+++ b/server/uloc.c
@@ -869,7 +869,7 @@ ulogin_marshal_locs(notice, found, auth)
char **answer;
int i = 0;
String *inst;
- int local = sender_in_realm(notice);
+ int local = (auth && sender_in_realm(notice));
*found = 0; /* # of matches */