Bug 4231 - ldap_search_with_timeout fails after strange time interval
Summary: ldap_search_with_timeout fails after strange time interval
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.21c
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 12:19 UTC by Jens Nissen
Modified: 2006-11-15 12:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Nissen 2006-11-15 12:19:35 UTC
I have security = ads, ldap timeout = 70
I make a getent passwd on a domain with approx. 30000 Users.
After 7 minutes(!) the call returns with 15000 entries.
I don't know what's worse: that the call returns with a failure or the timeout which is completely off the track!
Excerpt from the log:

[2006/11/15 18:43:20, 3] nsswitch/winbindd_ads.c:query_user_list(165)
  ads: query_user_list
[2006/11/15 18:50:54, 3] libads/ldap.c:ads_do_paged_search(527)
  ads_do_paged_search: ldap_search_with_timeout((objectClass=user)) -> Timed out
[2006/11/15 18:51:03, 3] nsswitch/winbindd_ads.c:query_user_list(243)
  ads query_user_list gave 15000 entries