1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

r6574: send a value for embedded ref pointers,

(this fixes the doublepointer test against w2k3)

but we accept zero pointers on the receive side,
because it's used in DRSUAPI

metze
(This used to be commit 748ab5449bcc5b47f5ceaa83277bf8084c44ec56)
This commit is contained in:
Stefan Metzmacher 2005-05-02 14:53:19 +00:00 committed by Gerald (Jerry) Carter
parent 8bf57cf8f5
commit d70232a747

View File

@ -577,7 +577,7 @@ NTSTATUS ndr_push_ref_ptr(struct ndr_push *ndr, const void *p)
if (p == NULL) {
return NT_STATUS_INVALID_PARAMETER_MIX;
}
return ndr_push_uint32(ndr, NDR_SCALARS, 0);
return ndr_push_uint32(ndr, NDR_SCALARS, 0xAEF1AEF1);
}