diff options
author | Luke Leighton <lkcl@samba.org> | 1998-10-21 16:54:23 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-10-21 16:54:23 +0000 |
commit | ac9be4ddca99c5efae518a985b97fb1fb6374289 (patch) | |
tree | b6eec3945ecec8673712d193daadbdffccdf8ad9 | |
parent | 477350638399b8ff264100c7832c14df719055f3 (diff) | |
download | samba-ac9be4ddca99c5efae518a985b97fb1fb6374289.tar.gz samba-ac9be4ddca99c5efae518a985b97fb1fb6374289.tar.bz2 samba-ac9be4ddca99c5efae518a985b97fb1fb6374289.zip |
oops!
(This used to be commit 500e5536bee8ea8e58d5991bfab2cff923068926)
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 2 | ||||
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 002c86cafc..e412bad2a7 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -104,7 +104,7 @@ static BOOL rpc_read(struct cli_state *cli, DEBUG(5,("rpc_read: offset end: 0x%x. data left to read:0x%x\n", rdata->data->offset.end, data_to_read)); - return rdata->data.data != NULL; + return rdata->data->data != NULL; } /**************************************************************************** diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 3fab30bf8b..58f726b6e4 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -2067,16 +2067,16 @@ void make_sam_user_info21(SAM_USER_INFO_21 *usr, usr->pass_can_change_time = *pass_can_change_time; usr->pass_must_change_time = *pass_must_change_time; - make_uni_hdr(&(usr->hdr_user_name ), len_user_name , len_user_name , len_user_name != 0); - make_uni_hdr(&(usr->hdr_full_name ), len_full_name , len_full_name , len_full_name != 0); - make_uni_hdr(&(usr->hdr_home_dir ), len_home_dir , len_home_dir , len_home_dir != 0); - make_uni_hdr(&(usr->hdr_dir_drive ), len_dir_drive , len_dir_drive , len_dir_drive != 0); - make_uni_hdr(&(usr->hdr_logon_script), len_logon_script, len_logon_script, len_logon_script != 0); - make_uni_hdr(&(usr->hdr_profile_path), len_profile_path, len_profile_path, len_profile_path != 0); - make_uni_hdr(&(usr->hdr_acct_desc ), len_description , len_description , len_description != 0); - make_uni_hdr(&(usr->hdr_workstations), len_workstations, len_workstations, len_workstations != 0); - make_uni_hdr(&(usr->hdr_unknown_str ), len_unknown_str , len_unknown_str , len_workstations != 0); - make_uni_hdr(&(usr->hdr_munged_dial ), len_munged_dial , len_munged_dial , len_workstations != 0); + make_uni_hdr(&(usr->hdr_user_name ), len_user_name , len_user_name , 1); + make_uni_hdr(&(usr->hdr_full_name ), len_full_name , len_full_name , 1); + make_uni_hdr(&(usr->hdr_home_dir ), len_home_dir , len_home_dir , 1); + make_uni_hdr(&(usr->hdr_dir_drive ), len_dir_drive , len_dir_drive , 1); + make_uni_hdr(&(usr->hdr_logon_script), len_logon_script, len_logon_script, 1); + make_uni_hdr(&(usr->hdr_profile_path), len_profile_path, len_profile_path, 1); + make_uni_hdr(&(usr->hdr_acct_desc ), len_description , len_description , 1); + make_uni_hdr(&(usr->hdr_workstations), len_workstations, len_workstations, 1); + make_uni_hdr(&(usr->hdr_unknown_str ), len_unknown_str , len_unknown_str , 1); + make_uni_hdr(&(usr->hdr_munged_dial ), len_munged_dial , len_munged_dial , 1); bzero(usr->nt_pwd, sizeof(usr->nt_pwd)); bzero(usr->lm_pwd, sizeof(usr->lm_pwd)); |