1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3
Stefan Metzmacher 880fbc4e8c s3:libsmb: fix smb signing for fragmented trans/trans2/nttrans requests
Before we send the secondary requests we need to remove the
old mid=>seqnum mapping and reset cli->mid and make the new
mid=>seqnum mapping "persistent".

The bug we had in cli_send_trans was this:
The first cli_send_smb() incremented cli->mid
and the secondary requests used the incremented mid,
but as cli->outbuf still had the correct mid,
we send the correct mid to the server. The real problem
was that the cli_send_smb() function stored the seqnum
under the wrong mid.

cli_send_nttrans() was totally broken and now follows the
same logic as cli_send_trans().

The good thing is that in practice the problem is unlikely to happen,
because max_xmit is large enough to avoid secondary requests.

metze
2009-03-19 13:54:22 +01:00
..
auth s3: fix guest auth when winbindd is running 2009-02-26 19:47:43 -08:00
client Remove the global "struct cm_cred_struct" and associated calls, make 2009-03-17 14:53:06 -07:00
exports
groupdb Fix a couple of memleaks in mapping_ldb.c 2009-02-07 19:25:34 +01:00
include s3: remove POLICY_HND. 2009-03-18 23:22:29 +01:00
iniparser
iniparser_build
intl
lib s3:lib/util_sock: use sys_recv() instead of sys_read() on sockets 2009-03-19 13:54:17 +01:00
libaddns s3: only define TALLOC_ZERO if needed 2009-03-16 11:14:53 +01:00
libads s3: remove POLICY_HND. 2009-03-18 23:22:29 +01:00
libgpo s3: Fix incompatible type warnings 2009-03-01 16:40:17 -08:00
libnet s3: remove POLICY_HND. 2009-03-18 23:22:29 +01:00
librpc s3: Modifications to generic notify structures to allow implementation of OneFS notify. 2009-02-20 14:10:30 -08:00
libsmb s3:libsmb: fix smb signing for fragmented trans/trans2/nttrans requests 2009-03-19 13:54:22 +01:00
locale/pam_winbind
locking s3: Add strict lock/unlock calls to the vfs layer to replace is_locked 2009-03-13 14:16:55 -07:00
lua-5.1.4
m4 clean up lib64 linking paths the same way as lib 2009-03-17 16:11:14 +01:00
modules s3 onefs: Correctly error out when the read returns EOF 2009-03-18 16:51:41 -07:00
nmbd Fix bug #6186 - map readonly does not work 2009-03-12 10:57:31 -07:00
pam_smbpass
param Attempt to fix the build on IRIX 2009-03-04 12:28:39 +01:00
passdb Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly. 2009-03-18 15:44:13 -07:00
pkgconfig
po
printing s3-spoolss: use printer and job notify enums provided by idl. 2009-03-18 16:47:01 +01:00
profile S3: Add in profile counters for new vfs and syscall entries. 2009-02-24 15:53:01 -08:00
registry s3-spoolss: rename construct_dev_mode_new to construct_dev_mode. 2009-03-17 18:39:43 +01:00
rpc_client s3: remove POLICY_HND. 2009-03-18 23:22:29 +01:00
rpc_parse s3-rpc_parse: remove some unused parsing code. 2009-03-18 22:02:23 +01:00
rpc_server s3: remove POLICY_HND. 2009-03-18 23:22:29 +01:00
rpcclient s3: remove POLICY_HND. 2009-03-18 23:22:29 +01:00
script to be portable, use options first, arguments last 2009-03-17 16:09:15 +01:00
selftest s3:selftest: fix blackbox.net_s3 tests 2009-02-03 17:43:23 +01:00
services s3:services_db: use regsubkey_ctr_init() instead of using talloc directly 2009-02-26 13:22:53 +01:00
smbd Fix bug #6196 - Unable to serve files with colons to Linux CIFS/VFS client 2009-03-18 20:01:33 -07:00
stf
tests Move configure test files to the top-level and share them between s3 and 2009-01-22 11:35:28 +01:00
torture Modify simple POSIX open test to use filenames containing a ':' 2009-03-18 21:49:32 -07:00
utils s3: remove POLICY_HND. 2009-03-18 23:22:29 +01:00
web Fix bug #6040 - Missing <th> header in Status page. 2009-01-15 15:55:17 -08:00
winbindd s3: remove POLICY_HND. 2009-03-18 23:22:29 +01:00
.dmallocrc
.indent.pro
autogen.sh Allow using external libtalloc. 2009-03-14 20:56:26 +01:00
change-log
config.guess
config.sub
configure.developer
configure.in s3-spoolss: remove rpc_server/srv_spoolss.c alltogether. 2009-03-18 17:09:33 +01:00
Doxyfile
dynconfig.c Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.c 2009-01-12 12:16:03 +01:00
install-sh
localedir.c
mainpage.dox
Makefile.in Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly. 2009-03-18 15:44:13 -07:00
samba4-templates.mk merged-build: link in LIBREPLACE into samba4 code as in the native build 2009-02-03 16:31:02 +01:00
samba4.m4 configure: Add common file with minimum versions of external libraries. 2009-03-15 16:35:13 +01:00
samba4.mk Fix build of tdr from merged build. 2009-03-14 22:57:02 +01:00
smbadduser.in
VERSION