Re: Migrating to larger numbers

Michael H. Warfield (mhw@wittsend.com)
Sun, 30 May 1999 13:56:29 -0400 (EDT)


Nicholas Tufar enscribed thusly:
> On 27 May 1999, H. Peter Anvin wrote:

> > Okay, 2.3 is out; it's time to get some fundamental data types
> > expanded:

> > REQUIRED:

> > uid_t, gid_t: 32 bits minimum, 32 bits probably OK.

> Some ISPs and mail servers may have more than 65536 users on one system.
> I would propose to make uid_t and gid_t 64 bits.

Huh?

16 bits => 65536 users (Current)
32 bits => 4,294,967,296 users (including 0 and -1)

4 Billion user id's is not enough?

(Putting on my Samba Development Team hat now)... One possible
reason for going to 64 bit uid_t and gid_t would be to aid mapping Windows
global ids to Unix uids and gids. The Windows IDs include information about
the domain they're a part of. Windows IDs are also used for groups,
users (a group ID is just another user ID - which is not a bad idea),
and machines. Mapping them is a major pain. That would be important
for ntfs as well as samba.

> Nicholas

Mike

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/