openldap sync search perf improvement for samba DC

Jim McDonough jmcd at
Tue Oct 19 14:21:40 GMT 2004

The following patch was just posted into OpenLDAP HEAD.  We've still got 
some testing to do with samba 3.0, but the gist of it is that 
ldap_search_s was only requesting one entry returned at a time, while the 
async version was allowing many entires.  The network performance hit was 
enormous, and an 8-second ldapsearch query (uses async) was taking 50 
seconds through samba (sync).

Jim McDonough
IBM Linux Technology Center
Samba Team
6 Minuteman Drive
Scarborough, ME 04074

jmcd at 
jmcd at

Phone: (207) 885-5565
IBM tie-line: 776-9984

More information about the samba-technical mailing list