From 7d187fe7e098c16077d655978a5ee06d5695ea41 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 27 Jun 2006 00:55:08 +0000 Subject: r16546: Fix bug #3865 reported by jason@ncac.gwu.edu. Jeremy. (This used to be commit be888a3cda637149c3183418c6e721c6fef1b652) --- source3/libmsrpc/libmsrpc_internal.c | 20 ++++++++++---------- 1 file 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; -- cgit