One more step towards to better PDC.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 26 Oct 2002 01:47:38 +0000 (01:47 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 26 Oct 2002 01:47:38 +0000 (01:47 +0000)
commit3418da16456511490beb0d1045fff24576b48273
tree2174aa9abec959445c72aa758fa289e1888b1e52
parentb0d5745bb53b16e92160a6bdd2b984afb0e982ee
One more step towards to better PDC.

This patch, from "Stefan (metze) Metzmacher" <metze@metzemix.de> implements an
LDAP connection cache.  This removes the quite silly situation where every
single passdb operation involved a new LDAP connection.

The hope is that this will give us a decent performance boost in some usrmgr
related activities, and in the sid->name/sid->uid code.

The remaining things I think are 'todo' for pdb_ldap (in the near term) are:
 - intergrate volker's next_rid patch for NUA accounts,
 - add a 'trust ldap ids' option (remove Get_Pwnam() hit on enumerations).
 - put the group mapping actually into ldap
 - Schema fixes and do utf8 conversion
 - server failover (try a second server for the rebind on fail)
 - ensure we block between an 'add' and the ldap master replicating to our
   local slave (mezte found this issue, kills domain joins)

Andrew Bartlett
source/passdb/pdb_ldap.c