diff options
author | Jeremy Allison <jra@samba.org> | 2003-07-30 19:00:52 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-07-30 19:00:52 +0000 |
commit | 9c49c4694885a0b173ac982877fc64385e4855b7 (patch) | |
tree | f2ebfcc16bfd804bc2e1ba3bede4d319e712c6b6 | |
parent | 5ab2b1e9219a99b8e3b01a977e0703e76b57debb (diff) | |
download | samba-9c49c4694885a0b173ac982877fc64385e4855b7.tar.gz samba-9c49c4694885a0b173ac982877fc64385e4855b7.tar.bz2 samba-9c49c4694885a0b173ac982877fc64385e4855b7.zip |
Fix bug we discovered in W2K client signing on secondary trans2 packets.
Use W2K parameters. tpot please re-test smbclient with your problem
directory.
Jeremy.
(This used to be commit 677d3a3c4ca0b67148e5e56fa876773a067679bd)
-rw-r--r-- | source3/libsmb/clilist.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index 608d740f83..2b56582700 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -145,7 +145,7 @@ static int interpret_long_filename(struct cli_state *cli, int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute, void (*fn)(file_info *, const char *, void *), void *state) { - int max_matches = 512; + int max_matches = 1366; /* Match W2k - was 512. */ int info_level; char *p, *p2; pstring mask; @@ -207,7 +207,8 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute, &setup, 1, 0, /* setup, length, max */ param, param_len, 10, /* param, length, max */ NULL, 0, - cli->max_xmit /* data, length, max */ + MIN(16384,cli->max_xmit) /* data, length, max. W2K server signing + has a bug unless this matches what W2K uses. */ )) { break; } |