Author: jerry Date: 2005-08-24 19:21:00 +0000 (Wed, 24 Aug 2005) New Revision: 9594
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9594 Log: return the mapped name in enum_dom_groups() Modified: branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c trunk/source/rpc_server/srv_samr_nt.c Changeset: Modified: branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c =================================================================== --- branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c 2005-08-24 18:13:04 UTC (rev 9593) +++ branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c 2005-08-24 19:21:00 UTC (rev 9594) @@ -670,7 +670,7 @@ /* * JRA. I think this should include the null. TNG does not. */ - init_unistr2(&uni_name[i], entries[i].account_name, + init_unistr2(&uni_name[i], entries[i].fullname, UNI_STR_TERMINATE); init_sam_entry(&sam[i], &uni_name[i], entries[i].rid); } Modified: trunk/source/rpc_server/srv_samr_nt.c =================================================================== --- trunk/source/rpc_server/srv_samr_nt.c 2005-08-24 18:13:04 UTC (rev 9593) +++ trunk/source/rpc_server/srv_samr_nt.c 2005-08-24 19:21:00 UTC (rev 9594) @@ -669,7 +669,7 @@ /* * JRA. I think this should include the null. TNG does not. */ - init_unistr2(&uni_name[i], entries[i].account_name, + init_unistr2(&uni_name[i], entries[i].fullname, UNI_STR_TERMINATE); init_sam_entry(&sam[i], &uni_name[i], entries[i].rid); }