Subject: Re: 30000 users?
To: Gary D. Duzan <gary@wheel.tiac.net>
From: Frank van der Linden <frank@wins.uva.nl>
List: port-i386
Date: 02/28/1997 14:02:51
Quoting Gary D. Duzan,

> test::1048576:32766::0:0:Just Testing:/tmp

>    That generates the following message when I try to save it:

> pwd_mkdb: 1048576 > max uid value (65535)
> pwd_mkdb: at line #12
> pwd_mkdb: /etc/ptmp: Inappropriate file type or format

>    And types.h says:

> typedef u_int32_t       uid_t;          /* user id */

..so that leads to the obvious question: what is thet check for USHRT_MAX
still doing in src/lib/libutil/passwd.c ? I see that FreeBSD (it's
src/usr.sbin/pwd_mkdb/pw_scan.c in their tree) commented out the
bail-out return statement, but left the message itself in.

No reason to just throw away the upper 16 bits of your uid/gid types..

- Frank