From 8cfb182bdbfb1c820c472f787ff7888a9d79c2a5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 19 Jul 2006 15:05:06 +0000 Subject: 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) --- source3/rpc_parse/parse_lsa.c | 3 +++ 1 file changed, 3 insertions(+) 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)) -- cgit