On Mon, 2012-08-27 at 15:09 +0200, Milan Crha wrote:
> This error is new in 1.0, and can be reproduced with openchangeclient,
> if the passed-in message body is larger than 4KB, but the
> openchangeclient pretends success, while message itself, when delivered,
> is missing body. When run with debugging, the log also shows
>   rpc fault: WERR_RPC_X_BAD_STUB_DATA
> error. I tried the same with OpenChange 0.11 and it works fine there.

        Hi,
I made more tests today and it turned out that the problem is elsewhere,
in samba4. I built OpenChange 1.0 against samba4-alpha16 and I can send
long emails there, same as with alpha17, but if I use alpha18 or any
later version of samba4, including beta8, then the WriteStream fails.

I compared raw bytes being sent to the server, and the wrong samba4
sends on byte more than the working samba4. The three bytes for the
request (opnum, logon_id, handle_idx) are written as expected, then is
written one byte more, a 0, then the rest continues as expected (the
stream data).

I asked for help samba folks, thus we'll see whether they'll fix this in
beta9 or any later version.
        Bye,
        Milan

_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to