mirror of
https://github.com/samba-team/samba.git
synced 2025-06-03 17:05:54 +03:00
Fix full_name for info23 as well. Thanks, Andrew.
Volker
This commit is contained in:
parent
32d6bcf3ac
commit
382c444225
@ -301,7 +301,7 @@ void copy_id23_to_sam_passwd(SAM_ACCOUNT *to, SAM_USER_INFO_23 *from)
|
||||
|
||||
if (from->hdr_full_name.buffer) {
|
||||
old_string = pdb_get_fullname(to);
|
||||
new_string = pdb_unistr2_convert(&from->uni_user_name);
|
||||
new_string = pdb_unistr2_convert(&from->uni_full_name);
|
||||
DEBUG(10,("INFO_23 UNI_FULL_NAME: %s -> %s\n",old_string, new_string));
|
||||
if (STRING_CHANGED)
|
||||
pdb_set_fullname(to , new_string, PDB_CHANGED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user