summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-06-05 01:26:06 +0000
committerTim Potter <tpot@samba.org>2001-06-05 01:26:06 +0000
commit5d83242a9e03e72e07ff8cc427a67691774c373c (patch)
tree10f52466592bdcf233665a626eb88bd5404235ed
parent05fc3e578c895f632b351969d09cd00feb7599c7 (diff)
downloadsamba-5d83242a9e03e72e07ff8cc427a67691774c373c.tar.gz
samba-5d83242a9e03e72e07ff8cc427a67691774c373c.tar.bz2
samba-5d83242a9e03e72e07ff8cc427a67691774c373c.zip
Merge of lsa_lookup_names() i18n bugfix from appliance.
(This used to be commit 84a22d5f0a74f440a5288fedf07055ddc8da208e)
-rw-r--r--source3/rpc_server/srv_lsa_nt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 5ccb5a665b..6e501df414 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -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 "