summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-10-05 13:19:50 +0000
committerGerald Carter <jerry@samba.org>2002-10-05 13:19:50 +0000
commit783df79b34cf169ec56642f2b4d30a5287025284 (patch)
tree5378971c0f3e9ca6ba0362ea31b986f7ba05719e
parentd6486dff6150f79c54c0736c2c8660fe62ed49e0 (diff)
downloadsamba-783df79b34cf169ec56642f2b4d30a5287025284.tar.gz
samba-783df79b34cf169ec56642f2b4d30a5287025284.tar.bz2
samba-783df79b34cf169ec56642f2b4d30a5287025284.zip
missing prs_align()'s
(This used to be commit 33f4a2fe1c3202a04acbeb8e78515082e6b88dfd)
-rw-r--r--source3/rpc_parse/parse_ds.c9
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;