[jcifs] Re: jCIFS, non encrypted password and Samba 3 failure

Need Coffee need.coffee at gmail.com
Tue Jul 26 02:45:13 GMT 2005


Thank you Fabrice for posting more debugging information (which I had 
as well, but I didn't bother posting it after being told it could be anything
that changed between samba2 and samba3.

useUnicode=false fixed it here as well.  Thanks all.


On 7/8/05, Fabrice Jammes <fabrice.jammes at univ-paris1.fr> wrote:
> Michael B Allen wrote:
> 
> >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
> >
> >
> >
> What can I do to make it work ? Shall I install your fixed version ?
> Shall I wait for i new one ?
> 
> Thanks for your help.
> 
> --
> ---------------------------------------------
> Fabrice Jammes
> 
> SCIPRE : Service Informatique pour
> la Recherche et l'Enseignement
> 
> Université Paris 1 - Panthéon-Sorbonne
> 
> Centre Pierre Mendès-France
> 90, rue de Tolbiac
> 75013 Paris
> 
> Tél: 01 44 07 86 91
> ---------------------------------------------
> 
> 
> --
> Ce message a �t� v�rifi� par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a �t� trouv�.
> 
>


More information about the jcifs mailing list