Re: Was there a conv buffer prob in 2.2.1a?

2002-08-30 Thread Urban Widmark
On Fri, 30 Aug 2002, Michael Cuff wrote: Ok, I see what's happening. I'm glad someone does :) Client - Linux 2.4.7 based, smbmount version 2.2.1a I didn't think 2.2.1 sent share names as unicode strings. Or is this with some modified samba? ISTR some japanese patches ... /Urban

Re: Was there a conv buffer prob in 2.2.1a?

2002-08-30 Thread jra
On Fri, Aug 30, 2002 at 02:52:29PM -0700, Michael Cuff wrote: Ok, I see what's happening. The string goes from utf-8 to codepage. The length of the codepage string is shoved into the cli struct. Then the string is converted to unicode. The resulting string is shorter than the length

Re: Was there a conv buffer prob in 2.2.1a?

2002-08-29 Thread Michael Cuff
Seems the number of extra bytes matches the number of bytes in the share name. In the example below there are 3 extra words (not 4 as stated) as there are 3 characters in the share name: ku-ru-ma Longer share names produce more extra byte pairs.. -Michael Michael Cuff wrote: Urban, List,