r8110: More PAC work. I still can't get WinXP to accept the PAC, but we are
authorAndrew Bartlett <abartlet@samba.org>
Mon, 4 Jul 2005 02:36:16 +0000 (02:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:09 +0000 (13:19 -0500)
commitdbd2688c9042faaa44f4d89068a8351523233875
tree31cc633ae8f0f6a2437b3f726455548d9a6a051e
parent06348629b921adb6262e0f3d9a9c244568e2a78f
r8110: More PAC work.  I still can't get WinXP to accept the PAC, but we are
much closer.

This changes PIDL to allow a subcontext to have a pad8 flag, saying to
pad behind to an 8 byte boundary.  This is the only way I can explain
the 4 trainling zeros in the signature struct.

Far more importantly, the PAC code is now under self-test, both in
creating/parsing our own PAC, but also a PAC from my win2k3 server.
This required changing auth_anonymous, because I wanted to reuse the
anonymous 'server_info' generation code.

I'm still having trouble with PIDL, particulary as surrounds value(),
but I'll follow up on the list.

Andrew Bartlett
(This used to be commit 50a54bf4e9bf04d2a8e0aebb3482a2ff655c8bbb)
12 files changed:
source4/auth/auth_anonymous.c
source4/auth/auth_util.c
source4/auth/kerberos/kerberos.h
source4/auth/kerberos/kerberos_pac.c
source4/build/pidl/ndr.pm
source4/build/pidl/ndr_parser.pm
source4/build/pidl/validator.pm
source4/kdc/pac-glue.c
source4/librpc/idl/krb5pac.idl
source4/torture/auth/pac.c [new file with mode: 0644]
source4/torture/config.mk
source4/torture/torture.c