From 6780f050e1d909cdfcdeeb7be32fa5beed3bd437 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 2 Jul 2001 21:56:20 +0000 Subject: Missing prs_align() was causing Win9x nexus tools to fail. security_info_sent was being miss-parsed. Jeremy. (This used to be commit 1685e41da04f1fbbab036e194ce1b1e7ba9fef86) --- source3/rpc_parse/parse_srv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source3/rpc_parse/parse_srv.c b/source3/rpc_parse/parse_srv.c index 6d24617f36..637b834266 100644 --- a/source3/rpc_parse/parse_srv.c +++ b/source3/rpc_parse/parse_srv.c @@ -2755,6 +2755,9 @@ BOOL srv_io_q_net_file_set_secdesc(char *desc, SRV_Q_NET_FILE_SET_SECDESC *q_n, if(!smb_io_unistr2("", &q_n->uni_file_name, True, ps, depth)) return False; + if(!prs_align(ps)) + return False; + if(!prs_uint32("sec_info", ps, depth, &q_n->sec_info)) return False; -- cgit