summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-10-19 08:09:28 +0000
committerVolker Lendecke <vlendec@samba.org>2002-10-19 08:09:28 +0000
commit605ab784015fd5688ec43a5cce1ea5962b27139b (patch)
tree06b04935add441580b68962688ae109a618f241d /source3
parent0c35d7863293090925ee862285d844936dc38a94 (diff)
downloadsamba-605ab784015fd5688ec43a5cce1ea5962b27139b.tar.gz
samba-605ab784015fd5688ec43a5cce1ea5962b27139b.tar.bz2
samba-605ab784015fd5688ec43a5cce1ea5962b27139b.zip
Fix full_name for info23 as well. Thanks, Andrew.
Volker (This used to be commit 382c444225fae54ae577baae8948a64a843a2afc)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_util.c b/source3/rpc_server/srv_samr_util.c
index 84f28eda08..97c7b67839 100644
--- a/source3/rpc_server/srv_samr_util.c
+++ b/source3/rpc_server/srv_samr_util.c
@@ -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);