RE: Mapping of RIDs to uid_t and gid_t

Allan Bjorklund (allan@umich.edu)
Fri, 03 Apr 1998 14:03:02 -0500 (EST)

In-Reply-To: <35244092.446B9B3D@whistle.com>
Date:	Fri, 03 Apr 1998 14:03:02 -0500 (EST)
From:	Allan Bjorklund <allan@umich.edu>
To:	Jeremy Allison <jallison@whistle.com>
Subject: RE: Mapping of RIDs to uid_t and gid_t

On 03-Apr-98 Jeremy Allison wrote:
>
> Problems
> --------
>
> All this works very nicely for systems
> where sizeof(uid_t) and sizeof(gid_t) = 16,
> but is problematic for 32 bit uid_t, gid_t
> systems.
>
> I propose that, as most systems will
> be using uid_t's and gid_t's in the
> range 0 - (2^28 - 1001) we simply
> generate an error for 32 bit uid_t
> systems that have allocated users
> out of that range (comments please ?).

This will not work at our site. We currently have
85060 active entries in our global password file
(and growing).

We have to use 32 bit UIDs and GIDs.

===================================================================
Allan Bjorklund | allan@umich.edu
Systems Research Programmer | 535 W. William St.
1-(734)-763-9391 | Ann Arbor, MI 48103
===================================================================