auth: Common function for retrieving PAC_LOGIN_INFO from PAC
commit7285ed586f129d45843f98c359003d9ac88cf5cb
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Thu, 5 Jul 2012 20:17:00 +0000 (5 13:17 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 6 Jul 2012 10:45:51 +0000 (6 20:45 +1000)
tree4ca176f1284f9f43930be940b0173bae209fc0ab
parenta49eb60e041a55122ce04ed6f576c2ba09c11fe3
auth: Common function for retrieving PAC_LOGIN_INFO from PAC

Several functions use the same logic as kerberos_pac_logon_info. Move
kerberos_pac_logon_info to common code and reuse it to remove the code
duplication.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
auth/kerberos/kerberos_pac.c
auth/kerberos/pac_utils.h
source3/auth/auth_generic.c
source3/libads/authdata.c
source3/utils/ntlm_auth.c
source4/auth/kerberos/kerberos.h
source4/auth/kerberos/kerberos_pac.c