Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2001 12:28:53 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        <freebsd-questions@FreeBSD.ORG>, "Lowell Gilbert" <lowell@world.std.com>
Subject:   Re: Maximum accounts per system (?)
Message-ID:  <002801c09a99$6f1c3fd0$1200a8c0@gsicomp.on.ca>
References:  <15746.982285684@monkeys.com> <001101c097c2$ad792060$1200a8c0@gsicomp.on.ca> <444rxqsivv.fsf@lowellg.ne.mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help


> matt@gsicomp.on.ca (Matthew Emmerton) writes:
>
> > I noticed a quote in the source for pwd_mkdb that stated that "some
software
> > assumes that IDs are short."  So most likely the 32k restriction is due
to
> > historical reasons.
>
> I don't have my references at easy hand to double-check, but I believe
> that NFSv2 allows only 15 or 16 bits for uid.

Taking a quick look at headers:

nfs/nfs.h (v3) uses uid_t for UIDs, so v3 allows 32 bits.
nfs/nfsproto.h (aka nfs/nfsv2.h) uses u_int32_t for UIDs, so v2 should allow
32 bits as well.

--
Matt Emmerton



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c09a99$6f1c3fd0$1200a8c0>