summaryrefslogtreecommitdiffstats
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
commit84a22d5f0a74f440a5288fedf07055ddc8da208e (patch)
treef3b10d5ae9600b3417d4ca4a6c3daf526df9b10a
parent8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b (diff)
downloadsamba-84a22d5f0a74f440a5288fedf07055ddc8da208e.tar.gz
samba-84a22d5f0a74f440a5288fedf07055ddc8da208e.tar.xz
samba-84a22d5f0a74f440a5288fedf07055ddc8da208e.zip
Merge of lsa_lookup_names() i18n bugfix from appliance.
-rw-r--r--source/rpc_server/srv_lsa_nt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/rpc_server/srv_lsa_nt.c b/source/rpc_server/srv_lsa_nt.c
index 5ccb5a665b6..6e501df414d 100644
--- a/source/rpc_server/srv_lsa_nt.c
+++ b/source/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 "