From owner-freebsd-questions Sat Apr 1 21:21: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 0CADF37BD3F for ; Sat, 1 Apr 2000 21:21:02 -0800 (PST) (envelope-from Doug@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id VAA86105; Sat, 1 Apr 2000 21:20:50 -0800 (PST) (envelope-from Doug@gorean.org) Message-ID: <38E6D8B1.CC58B75B@gorean.org> Date: Sat, 01 Apr 2000 21:20:49 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0325 i386) X-Accept-Language: en MIME-Version: 1.0 To: Lowell Gilbert Cc: roberto@idirect.com, freebsd-questions@freebsd.org Subject: Re: USER LIMIT in freebsd References: <594E6BF7D307D311B1F90080C8E25EA3C25E05@exchange.idirect.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Lowell Gilbert wrote: > > roberto@idirect.com writes: > > > I have a mail server running freebsd 3.2 I have com e into a snag. The > > server does not seem to want to support more than 32000 users in fact if I > > try to add more it croaks. Is this a kernel limit, adduser limit, pw_mkdb > > limit ?? How can I increase and/or make this an almost impossible to reach > > number? > > The actual limit is 2^32, or over 4 billion. > > However, for historical reasons, you get a warning from pwd_mkdb(8) > when trying to use values over 2^15. Although FreeBSD itself can use > 32-bit uids just fine, there may be some external programs that can't, > and NFS version 2 is incapable of using uids larger than that number > (it's built right into the protocol). > > If you're not using NFS, you should be just fine. NFS v3 handles it ok, we (are forced to) use big UID's on many of our freebsd systems that communicate with Sun nfsd's. Also, in FreeBSD 4.0 there is an environment variable that you can set which supresses the warning. Doug -- "So, the cows were part of a dream that dreamed itself into existence? Is that possible?" asked the student incredulously. The master simply replied, "Mu." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message