s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 May 2010 02:45:14 +0000 (12:45 +1000)
committerGünther Deschner <gd@samba.org>
Tue, 11 May 2010 20:52:37 +0000 (22:52 +0200)
commit454b0b3f20ee8bdf56a12930261391e06567169c
tree164d017f86a2d8d4150a7bc69c6ece0ba7d3c145
parentd0a87f0098073b2b7c8b637eccbb9bd91aaa8a80
s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA

All the callers just want the PAC_LOGON_INFO, so search for that in
ads_verify_ticket(), and don't bother the callers with the rest of the
PAC.

This change makes sense on it's own (removing boilerplate wrappers
that just confuse the code), but it also makes it much easier to
implement a matching ads_verify_ticket() function in Samba4 for the
s3compat proposal.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
source3/include/proto.h
source3/libads/authdata.c
source3/libads/kerberos_verify.c
source3/smbd/sesssetup.c
source3/utils/net_ads.c
source3/utils/ntlm_auth.c
source3/winbindd/winbindd_pam.c