summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-16 09:50:49 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-16 09:50:49 +0000
commit6f12e4ace1609fbf00d42226134b1dbb259f38bc (patch)
tree7f116155578f01adfed2c4c5085a022b717025ea /source4/librpc/idl
parent7779b1e00022599f9b77dab7f5f983d930514f15 (diff)
downloadsamba-6f12e4ace1609fbf00d42226134b1dbb259f38bc.tar.gz
samba-6f12e4ace1609fbf00d42226134b1dbb259f38bc.tar.bz2
samba-6f12e4ace1609fbf00d42226134b1dbb259f38bc.zip
it turns out that a wire policy handle isn't a blob either, its a
uint32 followed by a GUID. I needed to fix this to support running in mixed-mode rpc (where smbtorture is bigendian and w2k3 is little-endian). Otherwise when you send back a policy handle the server doesn't recognise it. (This used to be commit 9b1c76a8e9e953e051072441f8938ee17a674d35)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/misc.idl6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/idl/misc.idl b/source4/librpc/idl/misc.idl
index a1f8549eaa..e6b1772284 100644
--- a/source4/librpc/idl/misc.idl
+++ b/source4/librpc/idl/misc.idl
@@ -58,11 +58,11 @@ interface misc
[relative] security_acl *dacl; /* user (discretionary) ACL */
} security_descriptor;
- typedef [public, flag(NDR_PAHEX)] struct {
- uint8 data[20];
+ typedef [public] struct {
+ uint32 handle_type;
+ GUID uuid;
} policy_handle;
-
/* a 4 byte aligned 64-bit integer */
typedef [public] struct {
uint32 low;