From: NeilBrown <neilb@cse.unsw.edu.au>
I would have assumed that we should also check for the same security
(pseudo)flavor, but that doesn't seem to be how Solaris does it, and since
the spec doesn't suggest including such information in the clientid, that
would make it impossible to switch pseudoflavors.
/* XXX what about NGROUP */
static int
cmp_creds(struct svc_cred *cr1, struct svc_cred *cr2){
- return((cr1->cr_uid == cr2->cr_uid) &&
- (cr1->cr_gid == cr2->cr_gid));
+ return(cr1->cr_uid == cr2->cr_uid);
}