s3:libsmb/clireadwrite: calculate cli_write_max_bufsize() correct based on max_xmit
commitf0ba1afe5f7dbafaf22c3028864de0f3910f675f
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Jun 2011 17:01:13 +0000 (8 19:01 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 10 Jun 2011 17:27:05 +0000 (10 19:27 +0200)
treee03216123fbe927f4fa44acbb2bd19cdb2f0bbad
parent73128b7cc7f536f80072a19cb69527c53d9a6c2f
s3:libsmb/clireadwrite: calculate cli_write_max_bufsize() correct based on max_xmit

This is important in order to support DCERPC over ncacn_np against NT4 servers,
where max_xmit is just 4356.

metze
source3/libsmb/clireadwrite.c