s4:kdc Rework KDC to pull in less attributes for krbtgt lookups
authorAndrew Bartlett <abartlet@samba.org>
Thu, 16 Jul 2009 07:37:36 +0000 (17:37 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 16 Jul 2009 22:26:49 +0000 (08:26 +1000)
commit19bc4ce95ca9b2a985313f5eb887275aa6fe3599
tree0a8f1df46ecd030986493ca6d9b7b7bb6c88adf3
parentd7b31ff853ac06d5021314be698109f8487770f9
s4:kdc Rework KDC to pull in less attributes for krbtgt lookups

Each attribute we request from LDB comes with a small cost, so don't
lookup any more than we must for the (very) frequent krbtgt lookup
case.  Similarly, we don't need to build a PAC for a server (as a
target), so don't ask for the PAC attributes here either.

Andrew Bartlett
source4/auth/auth.h
source4/auth/sam.c
source4/kdc/hdb-samba4.c