diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-05-02 14:53:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:27 -0500 |
commit | d70232a747eee67624ea8798e0459674031ead1c (patch) | |
tree | aa4b9e259b4cf1f062590197aba87539d4426c26 | |
parent | 8bf57cf8f57be28831023c2218d358b24b705256 (diff) | |
download | samba-d70232a747eee67624ea8798e0459674031ead1c.tar.gz samba-d70232a747eee67624ea8798e0459674031ead1c.tar.bz2 samba-d70232a747eee67624ea8798e0459674031ead1c.zip |
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)
-rw-r--r-- | source4/librpc/ndr/ndr_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c index 31a1c816b4..a33378dd1b 100644 --- a/source4/librpc/ndr/ndr_basic.c +++ b/source4/librpc/ndr/ndr_basic.c @@ -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); } |