From: probe Date: Sun, 7 Jun 1992 12:27:30 +0000 (+0000) Subject: Special case SYSADMINID (as a part of SYSADMINID); X-Git-Tag: release77~544 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/b7489d130f71d117b1617af894bcfa63537c2eea Special case SYSADMINID (as a part of SYSADMINID); perform this check first, as this will be the most common during the Moira bulk load --- diff --git a/afssync/utils.c b/afssync/utils.c index 33c472cc..a56a57ee 100644 --- a/afssync/utils.c +++ b/afssync/utils.c @@ -766,6 +766,9 @@ long gid; long i; long loc; + /* special case sysadmin */ + if (gid==SYSADMINID && aid==SYSADMINID) return 1; + /* special case anyuser and authuser */ if (gid == ANYUSERID) return 1; if (gid == AUTHUSERID && aid != ANONYMOUSID) return 1;