Merge of lsa_lookup_names() i18n bugfix from appliance.
authorTim Potter <tpot@samba.org>
Tue, 5 Jun 2001 01:26:06 +0000 (01:26 +0000)
committerTim Potter <tpot@samba.org>
Tue, 5 Jun 2001 01:26:06 +0000 (01:26 +0000)
(This used to be commit 84a22d5f0a74f440a5288fedf07055ddc8da208e)

source3/rpc_server/srv_lsa_nt.c

index 5ccb5a665b6f840116136cdb4a1e31a11b7efd45..6e501df414df1d71552e7e4c6e5f4dd7887238e0 100644 (file)
@@ -238,6 +238,11 @@ static void init_lsa_trans_names(TALLOC_CTX *ctx, DOM_R_REF *ref, LSA_TRANS_NAME
                        sid_split_rid(&find_sid, &rid);
                }
 
+               /* unistr routines take dos codepage strings */
+
+               unix_to_dos(dom_name, True);
+               unix_to_dos(name, True);
+
                dom_idx = init_dom_ref(ref, dom_name, &find_sid);
 
                DEBUG(10,("init_lsa_trans_names: added user '%s\\%s' to "