1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +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 commit is contained in:
Stefan Metzmacher 2005-05-02 14:53:19 +00:00 committed by Gerald (Jerry) Carter
parent 550f17f992
commit 748ab5449b

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);
}