Mapping of RIDs to uid_t and gid_t

Allan Bjorklund allan at umich.edu
Fri Apr 3 19:03:02 GMT 1998


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 at umich.edu
  Systems Research Programmer      |               535 W. William St.
  1-(734)-763-9391                 |              Ann Arbor, MI 48103
  ===================================================================


More information about the samba-technical mailing list