summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-21 18:37:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:58 -0500
commit3a60a6743262ab2ab221e0fe13ef6b510424ca3f (patch)
tree7029367395949ad4ce03813c2a7361e934a1cf4d /source3/smbd
parentc8ef27a3c3db3f04d592652fd6103c5b5cf83d03 (diff)
downloadsamba-3a60a6743262ab2ab221e0fe13ef6b510424ca3f.tar.gz
samba-3a60a6743262ab2ab221e0fe13ef6b510424ca3f.tar.bz2
samba-3a60a6743262ab2ab221e0fe13ef6b510424ca3f.zip
r18793: Fix BE string handling in the auto-generated
code. Should now work again with ASU. Jeremy. (This used to be commit 53e97bf92817b6cfc3f93c999a81ef8ad49a1609)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/mangle_hash2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/mangle_hash2.c b/source3/smbd/mangle_hash2.c
index d1ce1af9ea..a39f49ec79 100644
--- a/source3/smbd/mangle_hash2.c
+++ b/source3/smbd/mangle_hash2.c
@@ -465,7 +465,7 @@ static BOOL is_legal_name(const char *name)
* for mb UNIX asian characters like Japanese (SJIS) here.
* JRA.
*/
- if (convert_string(CH_UNIX, CH_UCS2, name, 2, mbc, 2, False) == 2) {
+ if (convert_string(CH_UNIX, CH_UTF16LE, name, 2, mbc, 2, False) == 2) {
/* Was a good mb string. */
name += 2;
continue;