From owner-freebsd-questions@FreeBSD.ORG Mon Jun 6 13:36:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8211D16A41C for ; Mon, 6 Jun 2005 13:36:21 +0000 (GMT) (envelope-from benh@jpj.net) Received: from blues.jpj.net (blues.jpj.net [208.210.80.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB25B43D5D for ; Mon, 6 Jun 2005 13:36:19 +0000 (GMT) (envelope-from benh@jpj.net) Received: from [192.168.11.10] (dryden.horked.net [66.93.193.167]) by blues.jpj.net (8.12.9p2/8.12.9) with ESMTP id j56DaVsS021199 for ; Mon, 6 Jun 2005 09:36:32 -0400 (EDT) (envelope-from benh@jpj.net) X-Sender: benh@blues.jpj.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 6 Jun 2005 08:36:11 -0500 To: freebsd-questions@freebsd.org From: Ben Hockenhull X-Scanned-By: MIMEDefang 2.51 on 208.210.80.156 Subject: FreeBSD 5.x with > 70k users? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 13:36:21 -0000 Hi there, I'm attempting to migrate an old BSDI system to FreeBSD. The system in question has about 71k users, with UIDs from about 2000 up to about 70000. When I import the master.passwd file (formats are the same) to the new system and try to rebuild the .db files, it fails with a pwd_mkdb: put: Unknown error: 0 . As best I can tell, if I import a small subset of the users (about 5k), things work fine. From what I understand, FreeBSD can have massive UIDs, with the caveat that some applications may not like UIDs > 65535. I did some research and found someone reporting an identical problem, but didn't see that he'd found a solution. Any input, pointers, solutions greatly appreciated. Ben