[Samba] getent passwd fails at 20,000 users

Galecki, Jason Jason_Galecki at csx.com
Tue Oct 22 20:17:58 GMT 2002

Does anyone know if there is a limit to the number users that getent will
show?  We have over 30,000+ users in our NT 4 Domain and we are testing
winbind and it's authentication process.   The Linux box is Redhat 8 and
samba 2.2.5x, the default samba with RedHat 8.0.  All of the users we tested
were able to get a home directory, use shares and permissions assigned.  All
of the users over the 20k limit, could log in through the PDC, but they
weren't able to get a home directory or use the permissions set on the

When I run:
wbinfo -t secret is good
wbinfo -u all users appear in the list
wbinfo -g all groups are in the list
getent passwd stops to a prompt with no error at exactly 20,000 users.  Is
there a way around this?  Is there a pam issue here?


More information about the samba mailing list