diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-19 04:44:47 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-19 04:44:47 +0000 |
commit | 025236281b55a63207adcc1fa183b2ab16361764 (patch) | |
tree | 2e982eef39eee82ade556bffd94143feffbdc47d /source4/librpc/ndr/ndr_samr.h | |
parent | 7f086443f58af374571516a73a535d8c71667822 (diff) | |
download | samba-025236281b55a63207adcc1fa183b2ab16361764.tar.gz samba-025236281b55a63207adcc1fa183b2ab16361764.tar.bz2 samba-025236281b55a63207adcc1fa183b2ab16361764.zip |
possibly better handling of NULL secdesc (thanks to lukeh)
(This used to be commit a1230f1b4b0b06d08bfe7c8a7e4863357db1ca5a)
Diffstat (limited to 'source4/librpc/ndr/ndr_samr.h')
-rw-r--r-- | source4/librpc/ndr/ndr_samr.h | 8 |
1 files changed, 6 insertions, 2 deletions
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; |