Make LDAP code fetch less attributes from LDAP server when KDC is asking
commitff874295933646b8adcaed82bc91b07bdeb3acb5
authorLove Hornquist Astrand <lha@h5l.org>
Sat, 3 Oct 2009 20:20:41 +0000 (3 13:20 -0700)
committerLove Hornquist Astrand <lha@h5l.org>
Sat, 3 Oct 2009 20:20:41 +0000 (3 13:20 -0700)
tree1e0f5b75e7f98b9034e181bf92b74f12616d4206
parent6f857bc86dab7c8953f8603ca5a1bacf86564d9c
Make LDAP code fetch less attributes from LDAP server when KDC is asking

Johan Gadsjö did a awesome analysis of the LDAP access pattens
and sent us a patch that reduced the calls the ldap server by 4
times as many. The patch was adopted and change to avoid compile
time depencies and make the determination runtime instead. Thanks!
lib/hdb/hdb-ldap.c
lib/hdb/hdb.h
lib/kadm5/chpass_s.c
lib/kadm5/delete_s.c
lib/kadm5/get_princs_s.c
lib/kadm5/get_s.c
lib/kadm5/ipropd_master.c
lib/kadm5/log.c
lib/kadm5/modify_s.c
lib/kadm5/randkey_s.c
lib/kadm5/rename_s.c