r7993: Further work on the Krb5 PAC.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 29 Jun 2005 13:55:09 +0000 (13:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:18:57 +0000 (13:18 -0500)
commit9a7481bcfeff29495334eff8803878c2c238878f
tree040ffa0f4b35ebe93b749a7b32166a9be1e525ad
parentf4e75294be1f4c9d110d4ca48c5143078ade2bce
r7993: Further work on the Krb5 PAC.

We now generate the PAC, and can verifiy both our own PAC and the PAC
from Win2k3.

This commit adds the PAC generation code, spits out the code to get
the information we need from the NETLOGON server back into a auth/
helper function, and adds a number of glue functions.

In the process of building the PAC generation code, some hints in the
Microsoft PAC specification shed light on other parts of the code, and
the updates to samr.idl and netlogon.idl come from those hints.

Also in this commit:

The Heimdal build package has been split up, so as to only link the
KDC with smbd, not the client utils.

To enable the PAC to be veified with gensec_krb5 (which isn't quite
dead yet), the keyblock has been passed back to the calling layer.

Andrew Bartlett
(This used to be commit e2015671c2f7501f832ff402873ffe6e53b89466)
20 files changed:
source4/auth/auth_sam_reply.c [new file with mode: 0644]
source4/auth/config.mk
source4/auth/gensec/config.mk
source4/auth/gensec/gensec_krb5.c
source4/auth/kerberos/config.mk
source4/auth/kerberos/kerberos.h
source4/auth/kerberos/kerberos_pac.c
source4/auth/kerberos/kerberos_verify.c
source4/heimdal_build/config.mk
source4/kdc/config.mk
source4/kdc/hdb-ldb.c
source4/kdc/kdc.c
source4/kdc/kdc.h
source4/kdc/pac-glue.c [new file with mode: 0644]
source4/librpc/idl/krb5pac.idl
source4/librpc/idl/netlogon.idl
source4/librpc/idl/samr.idl
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/rpc_server/samr/dcesrv_samr.c
source4/torture/rpc/samsync.c