? client_oplocks.txt ? security_server_segfault.patch ? lib/smbldap.c.mod Index: libsmb/clitrans.c =================================================================== RCS file: /data/cvs/samba/source/libsmb/clitrans.c,v retrieving revision 1.18.2.5 diff -u -r1.18.2.5 clitrans.c --- libsmb/clitrans.c 20 Oct 2003 08:41:32 -0000 1.18.2.5 +++ libsmb/clitrans.c 30 Nov 2003 19:37:02 -0000 @@ -134,6 +134,16 @@ * the primary. Important in signing. JRA. */ cli->mid = mid; + /* + * Turns out that we need to increment the + * sequence number for each packet until the + * last one in the signing sequence. That's + * the one that matters to check signing replies. JRA. + */ + + cli_signing_trans_stop(cli); + cli_signing_trans_start(cli); + show_msg(cli->outbuf); if (!cli_send_smb(cli)) { cli_signing_trans_stop(cli); @@ -426,6 +436,16 @@ /* Ensure this packet has the same MID as * the primary. Important in signing. JRA. */ cli->mid = mid; + + /* + * Turns out that we need to increment the + * sequence number for each packet until the + * last one in the signing sequence. That's + * the one that matters to check signing replies. JRA. + */ + + cli_signing_trans_stop(cli); + cli_signing_trans_start(cli); show_msg(cli->outbuf);