[Samba] SAMBA 3.0.14a getpwent() usage with LDAP backend -- URGENT HELP!!!

Daniel Wilson daniel.wilson at sunderland.ac.uk
Thu Sep 29 16:33:17 GMT 2005


We're being hit by occasional very high load (up to 23 on a SUN Fire 
v440) on our LDAP server
coming from a query of (objectClass=posixAccount).  This currently
returns over 54,000 entries ...

This is coming from the getpwent() call in util_getent.c:getpwent_list()

This is coming from srv_samr_nt.c:get_memberuids()

But we're having trouble working out what triggers this call:  it
happens mostly during the morning startup period, but happens
occasionally thoughout the day.  It is not triggered by anything we
can think of with our clients MS/Win/XP, smbclient, Mac OS/X.  But
might be coming from clients we can't replicate: NT4, W2K, ???

Is there any alternative to getting the list of all users in
get_memberuids() ?

This causes a 2 hr slot in the morning when users have trouble loggin 
in, which is effecting about 6000 users!
Daniel Wilson
Systems Administrator

IT & Communications Service - SLS
University of Sunderland
Unit 1a Technology Park
Chester Road

Tel: 0191 515 2695

This e-mail contains information which is confidential and may be 
privileged and is for the exclusive use of the recipient.
It is the responsibility of the recipient to ensure that this message 
and its attachments are virus free.
Any views or opinions presented are solely those of the author and do 
not necessarily represent those of the University, unless otherwise 

More information about the samba mailing list