I've debugged it, and found the bug, just posted the patch to https://bugzilla.samba.org/show_bug.cgi?id=6767 . It is a one-liner, in cifsConvertToUCS the return statement is incorrect:
--- orig/linux-2.6.32/fs/cifs/misc.c 2009-12-03 04:51:21.000000000 +0100 +++ linux-2.6.32/fs/cifs/misc.c 2011-10-09 22:25:10.767951322 +0200 @@ -713,7 +713,7 @@ } ctoUCS_out: - return i; + return j; } void Best, Baldvin -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/260396 Title: cifs.mount: mapchars + utf8 = loop To manage notifications about this bug go to: https://bugs.launchpad.net/samba/+bug/260396/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs