diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-27 00:55:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:18:59 -0500 |
commit | 7d187fe7e098c16077d655978a5ee06d5695ea41 (patch) | |
tree | 28d0bac8846cb6f301c140199ce93938fbeeed1c /source3 | |
parent | 24814867c3470ef63c3cae28ad7c6644029b65d2 (diff) | |
download | samba-7d187fe7e098c16077d655978a5ee06d5695ea41.tar.gz samba-7d187fe7e098c16077d655978a5ee06d5695ea41.tar.bz2 samba-7d187fe7e098c16077d655978a5ee06d5695ea41.zip |
r16546: Fix bug #3865 reported by jason@ncac.gwu.edu.
Jeremy.
(This used to be commit be888a3cda637149c3183418c6e721c6fef1b652)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libmsrpc/libmsrpc_internal.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/libmsrpc/libmsrpc_internal.c b/source3/libmsrpc/libmsrpc_internal.c index f57063dc42..3a47361db2 100644 --- a/source3/libmsrpc/libmsrpc_internal.c +++ b/source3/libmsrpc/libmsrpc_internal.c @@ -368,16 +368,16 @@ SAM_USERINFO_CTR *cac_MakeUserInfoCtr(TALLOC_CTX *mem_ctx, CacUserInfo *info) { unix_to_nt_time(&pass_must_change_time, info->pass_must_change_time); /*initialize the strings*/ - init_unistr2(&user_name, info->username, STR_TERMINATE); - init_unistr2(&full_name, info->full_name, STR_TERMINATE); - init_unistr2(&home_dir, info->home_dir, STR_TERMINATE); - init_unistr2(&dir_drive, info->home_drive, STR_TERMINATE); - init_unistr2(&log_scr, info->logon_script, STR_TERMINATE); - init_unistr2(&prof_path, info->profile_path, STR_TERMINATE); - init_unistr2(&desc, info->description, STR_TERMINATE); - init_unistr2(&wkstas, info->workstations, STR_TERMINATE); - init_unistr2(&unk, "\0", STR_TERMINATE); - init_unistr2(&mung_dial, info->dial, STR_TERMINATE); + init_unistr2(&user_name, info->username, UNI_STR_TERMINATE); + init_unistr2(&full_name, info->full_name, UNI_STR_TERMINATE); + init_unistr2(&home_dir, info->home_dir, UNI_STR_TERMINATE); + init_unistr2(&dir_drive, info->home_drive, UNI_STR_TERMINATE); + init_unistr2(&log_scr, info->logon_script, UNI_STR_TERMINATE); + init_unistr2(&prof_path, info->profile_path, UNI_STR_TERMINATE); + init_unistr2(&desc, info->description, UNI_STR_TERMINATE); + init_unistr2(&wkstas, info->workstations, UNI_STR_TERMINATE); + init_unistr2(&unk, "\0", UNI_STR_TERMINATE); + init_unistr2(&mung_dial, info->dial, UNI_STR_TERMINATE); /*manually set passmustchange*/ ctr->info.id21->passmustchange = (info->pass_must_change) ? 0x01 : 0x00; |