From 148235a00948d572e863db277704c34fee56ebf4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 4 Jul 2005 15:42:08 +0000 Subject: r8148: - make the PAC generation code a bit more readable and add some outof memory checks - move to handmodified pull/push code for PAC_BUFFER to get the _ndr_size field and the subcontext size right - after looking closely to the sample w2k3 PAC in our torture test (and some more in my archive) I found out that the first uint32 before the netr_SamInfo3 was also a pointer, (and we passed a NULL pointer there before, so I think that was the reason why the windows clients doesn't want our PAC) w2k3 uses this for unique pointers: ptr = ndr->ptr_count * 4; ptr |= 0x00020000; ndr->ptr_count; - do one more pull/push round with the sample PAC metze (This used to be commit 0eee17941595e9842a264bf89ac73ca66cea7ed5) --- source4/librpc/config.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/librpc/config.mk') diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk index c5c261c63f..7c93ba9abb 100644 --- a/source4/librpc/config.mk +++ b/source4/librpc/config.mk @@ -308,7 +308,10 @@ REQUIRED_SUBSYSTEMS = NDR_RAW INIT_FUNCTION = dcerpc_krb5pac_init INIT_OBJ_FILES = librpc/gen_ndr/ndr_krb5pac.o NOPROTO = YES -REQUIRED_SUBSYSTEMS = NDR_RAW +REQUIRED_SUBSYSTEMS = NDR_RAW NDR_KRB5PAC_UTIL + +[SUBSYSTEM::NDR_KRB5PAC_UTIL] +INIT_OBJ_FILES = librpc/ndr/ndr_krb5pac.o [SUBSYSTEM::NDR_XATTR] INIT_FUNCTION = dcerpc_xattr_init -- cgit