From 025236281b55a63207adcc1fa183b2ab16361764 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 19 Nov 2003 04:44:47 +0000 Subject: possibly better handling of NULL secdesc (thanks to lukeh) (This used to be commit a1230f1b4b0b06d08bfe7c8a7e4863357db1ca5a) --- source4/librpc/ndr/ndr_samr.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source4/librpc/ndr/ndr_samr.h') diff --git a/source4/librpc/ndr/ndr_samr.h b/source4/librpc/ndr/ndr_samr.h index b7b568b034..ef5f290680 100644 --- a/source4/librpc/ndr/ndr_samr.h +++ b/source4/librpc/ndr/ndr_samr.h @@ -109,6 +109,11 @@ struct samr_SetSecurity { }; +struct samr_SdBuf { + uint32 sd_size; + struct security_descriptor *sd; +}; + struct samr_QuerySecurity { struct { struct policy_handle *handle; @@ -116,8 +121,7 @@ struct samr_QuerySecurity { } in; struct { - uint32 *length; - struct security_descriptor *sd; + struct samr_SdBuf *sdbuf; NTSTATUS result; } out; -- cgit