diff options
author | Gerald Carter <jerry@samba.org> | 2002-10-05 13:20:06 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-10-05 13:20:06 +0000 |
commit | 0040de451eedfb731c68f2de00cde1b0dc82fbbe (patch) | |
tree | b2bda6b413db7f77aec7821fb3ee1d1ebd125e05 /source3/rpc_parse | |
parent | 496c836576a9851d8701dea34b7697531ed9e83a (diff) | |
download | samba-0040de451eedfb731c68f2de00cde1b0dc82fbbe.tar.gz samba-0040de451eedfb731c68f2de00cde1b0dc82fbbe.tar.xz samba-0040de451eedfb731c68f2de00cde1b0dc82fbbe.zip |
missing prs_align()'s
(This used to be commit f149a5a54722fe05c8e30cb217cc72cec6f34e18)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_ds.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_ds.c b/source3/rpc_parse/parse_ds.c index ec5ea45cc8..3c70cabc71 100644 --- a/source3/rpc_parse/parse_ds.c +++ b/source3/rpc_parse/parse_ds.c @@ -50,10 +50,19 @@ static BOOL ds_io_dominfobasic( char *desc, prs_struct *ps, int depth, DSROLE_PR if ( !smb_io_unistr2( "netbios_domain", &p->netbios_domain, p->netbios_ptr, ps, depth) ) return False; + if ( !prs_align(ps) ) + return False; + if ( !smb_io_unistr2( "dns_domain", &p->dns_domain, p->dnsname_ptr, ps, depth) ) return False; + if ( !prs_align(ps) ) + return False; + if ( !smb_io_unistr2( "forest_domain", &p->forest_domain, p->forestname_ptr, ps, depth) ) return False; + if ( !prs_align(ps) ) + return False; + return True; |