[jcifs] Re: jCIFS, non encrypted password and Samba 3 failure
Michael B Allen
mba2000 at ioplex.com
Wed Jul 6 18:52:24 GMT 2005
On Wed, 06 Jul 2005 18:16:02 +0200
Fabrice Jammes <fjammes at univ-paris1.fr> wrote:
> In fact jCIFS works with useUnicode = false, but as i'm french i need to
> work with accent and they are not supported.
>
> On Windows XP clients, we have patched registry and authentication with
> plaintext password work fine, and accent displaying is OK. Same thing
> with smbclient.
Yes, this is an alignment bug in jCIFS. I will fix in the next release. If
you really need it now I can send you a jar.
> I try List.java with
>
> Config.setProperty("jcifs.smb.client.useUnicode", "false");
> Config.setProperty("jcifs.encoding", "UTF8");
>
> or with ISO8859_1
> or ISO8859_15_FDIS
>
> and the accents don't appear or appear like "?"
Well the server would have to be configured to use the same OEM codepage
and Windows does not do UTF-8 well.
> Here are the charset setting on the server (smb.conf) :
>
> dos charset = 850
> unix charset = ISO-8859-15
> display charset = ISO-8859-15
Oh, with Samba then it should work with the default encoding I think. That
might be another bug.
Mike
More information about the jcifs
mailing list