Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 1996 18:44:30 -0500 (CDT)
From:      Karl Denninger  <karl@Mcs.Net>
To:        hackers@freebsd.org
Subject:   UID < 65535?
Message-ID:  <199608252344.SAA11342@Jupiter.mcs.net>

next in thread | raw e-mail | index | archive | help
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!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608252344.SAA11342>