r8250: More PAC work. We now sucessfully verify the KDC signature from my DC
authorAndrew Bartlett <abartlet@samba.org>
Sat, 9 Jul 2005 01:58:38 +0000 (01:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:25 +0000 (13:19 -0500)
commitc0a78453a77fb0aa42d676635778a75204b6869c
treeb8e6aee36941ffafe9858dbfbcebd93ab33e0f56
parent37cf22a39eec62a62d5ad30d9419ce4e159dff31
r8250: More PAC work.  We now sucessfully verify the KDC signature from my DC
(I have included the krbtgt key from my test network).

It turns out the krbtgt signature is over the 16 (or whatever,
enc-type dependent) bytes of the signature, not the entire structure.

Also do not even try to use Kerberos or GSSAPI on an IP address, it
will only fail.

Andrew Bartlett
(This used to be commit 3b9558e82fdebb58f240d43f6a594d676eb04daf)
source4/auth/gensec/gensec_gssapi.c
source4/auth/gensec/gensec_krb5.c
source4/auth/kerberos/kerberos.h
source4/auth/kerberos/kerberos_pac.c
source4/librpc/idl/krb5pac.idl
source4/torture/auth/pac.c