Fix full_name for info23 as well. Thanks, Andrew.
authorVolker Lendecke <vlendec@samba.org>
Sat, 19 Oct 2002 08:09:28 +0000 (08:09 +0000)
committerVolker Lendecke <vlendec@samba.org>
Sat, 19 Oct 2002 08:09:28 +0000 (08:09 +0000)
Volker
(This used to be commit 382c444225fae54ae577baae8948a64a843a2afc)

source3/rpc_server/srv_samr_util.c

index 84f28eda08cd335639ba2abc56904edfa4119cc7..97c7b67839d493210c6f81bd1cfc9ae84eeadb07 100644 (file)
@@ -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);