1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Merge of lsa_lookup_names() i18n bugfix from appliance.

This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent 8ec9c87b5d
commit 84a22d5f0a

View 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); 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); dom_idx = init_dom_ref(ref, dom_name, &find_sid);
DEBUG(10,("init_lsa_trans_names: added user '%s\\%s' to " DEBUG(10,("init_lsa_trans_names: added user '%s\\%s' to "