Bug 20985

Summary: Cannot create pwd.db with passwd file exceeding 65535 users.
Product: Base System Reporter: lenwilliams <lenwilliams>
Component: miscAssignee: Sheldon Hearn <sheldonh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description lenwilliams 2000-09-01 20:10:01 UTC
pwd_mkdb generates the following error upon reaching uid of 65535. Will increasing "maxusers" resolve this?

pwd_mkdb: 128025 > max uid value (65535)
pwd_mkdb: 128026 > max uid value (65535)
pwd_mkdb: 128027 > max uid value (65535)
pwd_mkdb: 128028 > max uid value (65535)
pwd_mkdb: 128029 > max uid value (65535)
pwd_mkdb: 128030 > max uid value (65535)

Fix: 

?
How-To-Repeat: Generate /etc/passwd with more than 65535 users and run "pwd_mkdb -C /etc/passwd" or "pwd_mkdb passwd"
Comment 1 des 2000-09-04 10:14:06 UTC
lenwilliams@aplus.net writes:
> pwd_mkdb generates the following error upon reaching uid of 65535.

It's just a warning. Some file systems (e.g. NFS) can't handle UIDs
above 65535.

> Will increasing "maxusers" resolve this?

No.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-04 12:40:41 UTC
State Changed
From-To: open->closed

If the warnings bug you, pwd_mkdb(8) in FreeBSD 3.5-RELEASE  
and above support an environment variable, PW_SCAN_BIG_IDS, 
in the presence of which the warnings are silenced. 


Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-04 12:40:41 UTC
Responsible Changed
From-To: freebsd-bugs->sheldonh

Added PW_SCAN_BIG_IDS.