In source/libsmb/nmblib.c, name_mangle() uses toupper(3) against a NetBIOS name string. If a string has multibyte characters encoded in CP932 (dos cahrset name for Windows Japanese Edition) and has some specific CP932 words (e.g. "\x8A\x6A", means "Core" in Japanese/CP932), words in the string is changed into another word (e.g. "\x8A\x4A", means "Open" in Japanese/CP932). Do not use toupper(3) for strings which can have multibyte characters.
A proposed patch is included in a patch attached in Bug 784.
784 is fixed so I guess this one is as well. Closing.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.