diff options
author | Jean-François Micouleau <jfm@samba.org> | 2000-10-10 13:08:55 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2000-10-10 13:08:55 +0000 |
commit | 11d999f2bc0c841696bc3ea1ddda48524242482c (patch) | |
tree | d73b35ac9fde76d355a81ecab65ad4c2ef2a4652 /source3/rpc_parse | |
parent | 2d33e87424197b993e8e7d218c0945cc2b66078a (diff) | |
download | samba-11d999f2bc0c841696bc3ea1ddda48524242482c.tar.gz samba-11d999f2bc0c841696bc3ea1ddda48524242482c.tar.bz2 samba-11d999f2bc0c841696bc3ea1ddda48524242482c.zip |
a netlogon enum trust query doesn't have a function_code at end.
a sam_user_info_24 doesn't have a uint16 at end
samr_create_user also creates the unix account now
samr_set_userinfo changes the password.
J.F.
(This used to be commit 94f4024481fcd0cb6647af1bd4364033be020641)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_net.c | 6 | ||||
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 4 |
2 files changed, 1 insertions, 9 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c index 6aa7f5e518..098a5ca98c 100644 --- a/source3/rpc_parse/parse_net.c +++ b/source3/rpc_parse/parse_net.c @@ -374,12 +374,6 @@ BOOL net_io_q_trust_dom(char *desc, NET_Q_TRUST_DOM_LIST *q_l, prs_struct *ps, i if(!smb_io_unistr2 ("", &q_l->uni_server_name, q_l->ptr, ps, depth)) return False; - if(!prs_align(ps)) - return False; - - if(!prs_uint32("function_code", ps, depth, &q_l->function_code)) - return False; - return True; } diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 0bd1c29710..a2dda316f2 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -4248,7 +4248,7 @@ static BOOL sam_io_user_info23(char *desc, SAM_USER_INFO_23 *usr, prs_struct *ps return False; /* ok, this is only guess-work (as usual) */ - if (usr->unknown_3 != 0x0) { + if (usr->unknown_5 != 0x0) { if(!prs_uint32("unknown_6", ps, depth, &usr->unknown_6)) return False; if(!prs_uint32("padding4", ps, depth, &usr->padding4)) @@ -4282,8 +4282,6 @@ static BOOL sam_io_user_info24(char *desc, SAM_USER_INFO_24 *usr, prs_struct *ps if(!prs_uint8s(False, "password", ps, depth, usr->pass, sizeof(usr->pass))) return False; - if(!prs_uint16("unk_0", ps, depth, &usr->unk_0)) /* unknown */ - return False; return True; } |