From owner-freebsd-questions Mon Feb 19 9:30:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id B6C0137B491 for ; Mon, 19 Feb 2001 09:30:40 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.9.3) with SMTP id f1JHSri87516; Mon, 19 Feb 2001 12:28:54 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <002801c09a99$6f1c3fd0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: , "Lowell Gilbert" References: <15746.982285684@monkeys.com> <001101c097c2$ad792060$1200a8c0@gsicomp.on.ca> <444rxqsivv.fsf@lowellg.ne.mediaone.net> Subject: Re: Maximum accounts per system (?) Date: Mon, 19 Feb 2001 12:28:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > matt@gsicomp.on.ca (Matthew Emmerton) writes: > > > I noticed a quote in the source for pwd_mkdb that stated that "some software > > assumes that IDs are short." So most likely the 32k restriction is due to > > historical reasons. > > I don't have my references at easy hand to double-check, but I believe > that NFSv2 allows only 15 or 16 bits for uid. Taking a quick look at headers: nfs/nfs.h (v3) uses uid_t for UIDs, so v3 allows 32 bits. nfs/nfsproto.h (aka nfs/nfsv2.h) uses u_int32_t for UIDs, so v2 should allow 32 bits as well. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message