[Samba] getent passwd fails at 20,000 users

Gerald (Jerry) Carter jerry at samba.org
Tue Oct 22 22:13:00 GMT 2002

Hash: SHA1

On Tue, 22 Oct 2002, Galecki, Jason wrote:

> 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
> directories.
> 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?

No known limit.  We test at HP with extremely large domains on a 
regular basis.  Perhaps you should try 2.2.6.  I have no idea 
what patches RedHat may have added on the their RPM.  Researching it has 
been on my todo list for a few days now.....

cheers, jerry
 Hewlett-Packard           ------------------------- http://www.hp.com
 SAMBA Team                ---------------------- http://www.samba.org
 GnuPG Key                 ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2        "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "I never saved anything for the swim back."     Ethan Hawk in Gattaca
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/


More information about the samba mailing list