summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-19 15:05:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:14 -0500
commit8cfb182bdbfb1c820c472f787ff7888a9d79c2a5 (patch)
tree8b8bf31db199d4eb99c41cc854e5c662051764ae /source3/rpc_parse
parent5faee071cb698e64d46b4f72b817c4449b8751da (diff)
downloadsamba-8cfb182bdbfb1c820c472f787ff7888a9d79c2a5.tar.gz
samba-8cfb182bdbfb1c820c472f787ff7888a9d79c2a5.tar.bz2
samba-8cfb182bdbfb1c820c472f787ff7888a9d79c2a5.zip
r17136: Fix alignment on lsaquery. This broke in particular level 6, where the client
tried to figure out which role we are. Needs to go into 23a. Thanks to Karolin for insisting and setting up the test case :-) Volker (This used to be commit 3482bb1ef57e60397df8dcf1b29999161359c42a)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_lsa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 919b7c3955..bd83dabed7 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -986,6 +986,9 @@ static BOOL lsa_io_query_info_ctr(const char *desc, prs_struct *ps, int depth, L
if(!prs_uint16("info_class", ps, depth, &ctr->info_class))
return False;
+ if(!prs_align(ps))
+ return False;
+
switch (ctr->info_class) {
case 1:
if(!lsa_io_dom_query_1("", &ctr->info.id1, ps, depth))