Missing prs_align() was causing Win9x nexus tools to fail. security_info_sent
authorJeremy Allison <jra@samba.org>
Mon, 2 Jul 2001 21:56:20 +0000 (21:56 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 2 Jul 2001 21:56:20 +0000 (21:56 +0000)
was being miss-parsed.
Jeremy.
(This used to be commit 1685e41da04f1fbbab036e194ce1b1e7ba9fef86)

source3/rpc_parse/parse_srv.c

index 6d24617f3636245e14835c1184851ba9eff2657b..637b8342660272bf8771807e4f9fefd915e0e12e 100644 (file)
@@ -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;