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

William Jojo jojowil at hvcc.edu
Thu Sep 29 18:35:22 GMT 2005

Do you have a good fragment of a log level 10 during the event and a
smb.conf file? Perhaps a sample of the LDAP record with the hashes X'd
out....I'm assuming you're using nss?



----- Original Message ----- 
From: "Daniel Wilson" <daniel.wilson at sunderland.ac.uk>
To: <samba at lists.samba.org>
Sent: Thursday, September 29, 2005 12:33 PM
Subject: [Samba] SAMBA 3.0.14a getpwent() usage with LDAP backend -- 

> Hi,
> 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
> Sunderland
> SR2 7PT
> 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
> specifically
> stated.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list