From owner-freebsd-hackers Sun Aug 25 17:10:49 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA27149 for hackers-outgoing; Sun, 25 Aug 1996 17:10:49 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA27144 for ; Sun, 25 Aug 1996 17:10:47 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id RAA26391 for ; Sun, 25 Aug 1996 17:10:39 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id RAA14807; Sun, 25 Aug 1996 17:08:31 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) by whistle.com via smap (V1.3) id sma014805; Sun Aug 25 17:08:30 1996 Message-ID: <3220EAC2.167EB0E7@whistle.com> Date: Sun, 25 Aug 1996 17:07:30 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Karl Denninger CC: hackers@FreeBSD.org Subject: Re: UID < 65535? References: <199608252344.SAA11342@Jupiter.mcs.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Karl Denninger wrote: > > Hi folks, > > Note this: > > typedef u_int32_t uid_t; /* user id */ > > Ok, so its a 32-bit value, right? > > Then why does pwd_mkdb blow chunks if I specify anything beyond 65535? > > Is there's a LOGICAL reason for this? Are UIDs really limited to 65k? > > Or is this is a "stupid piece of code" problem in pwd_mkdb and have no > relavence to reality. > > I had *assumed* that 32-bit values were valid for UIDs on FreeBSD and most > other BSDs. Based on the include file above, that should be correct. > > So why is this being blocked?A It's only a warning message.. theya re working, but thay are bad for NFS as it has a 16 bit UID field. hense teh warning.. it probably shoul dbe a more explanatory message however.. it USED TO quit, but I made in non fatal a few months ago as we use UIDS > 65K as special internal system UIDs here.. julian