From: Neil Brown Date: Thu, 6 Jul 2006 02:28:33 +0000 (+1000) Subject: Use 65534 instead of -2 in svcgssd_proc.c X-Git-Tag: nfs-utils-1-0-9~6 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=28a7603b719f8d35bf22fd3018b610b489fec78f;p=nfs-utils.git Use 65534 instead of -2 in svcgssd_proc.c as this is more consistant across achitectures. --- diff --git a/utils/gssd/svcgssd_proc.c b/utils/gssd/svcgssd_proc.c index 4ab4b2e..bf40bc9 100644 --- a/utils/gssd/svcgssd_proc.c +++ b/utils/gssd/svcgssd_proc.c @@ -226,10 +226,9 @@ get_ids(gss_name_t client_name, gss_OID mech, struct svc_cred *cred) * mapping. */ if (res == -ENOENT) { - cred->cr_uid = -2; /* XXX */ - cred->cr_gid = -2; /* XXX */ - cred->cr_groups[0] = -2;/* XXX */ - cred->cr_ngroups = 1; + cred->cr_uid = 65534; /* XXX */ + cred->cr_gid = 65534; /* XXX */ + cred->cr_ngroups = 0; res = 0; goto out_free; }