From owner-freebsd-hackers Sun Aug 25 16:44:43 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA23422 for hackers-outgoing; Sun, 25 Aug 1996 16:44:43 -0700 (PDT) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA23413 for ; Sun, 25 Aug 1996 16:44:41 -0700 (PDT) Received: from mailbox.mcs.com (Mailbox.mcs.com [192.160.127.87]) by Kitten.mcs.com (8.7.5/8.7.5) with SMTP id SAA22532 for ; Sun, 25 Aug 1996 18:44:40 -0500 (CDT) Received: by mailbox.mcs.com (/\==/\ Smail3.1.28.1 #28.5) id ; Sun, 25 Aug 96 18:44 CDT Received: (from karl@localhost) by Jupiter.mcs.net (8.7.5/8.7.5) id SAA11342 for hackers@freebsd.org; Sun, 25 Aug 1996 18:44:30 -0500 (CDT) From: Karl Denninger Message-Id: <199608252344.SAA11342@Jupiter.mcs.net> Subject: UID < 65535? To: hackers@freebsd.org Date: Sun, 25 Aug 1996 18:44:30 -0500 (CDT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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? -- -- Karl Denninger (karl@MCS.Net)| MCSNet - The Finest Internet Connectivity http://www.mcs.net/~karl | T1 from $600 monthly; speeds to DS-3 available | 23 Chicagoland Prefixes, 13 ISDN, much more Voice: [+1 312 803-MCS1 x219]| Email to "info@mcs.net" WWW: http://www.mcs.net/ Fax: [+1 312 248-9865] | Home of Chicago's only FULL Clarinet feed!