torture/ntlm_auth: do not assume a line is less than 2047 bytes
authorBob Campbell <bobcampbell@catalyst.net.nz>
Wed, 18 Jan 2017 02:55:49 +0000 (15:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 11 Feb 2017 06:49:16 +0000 (07:49 +0100)
commit88e4b71e7856f5f1dc4cebd6d4408c9fd4499178
tree1e9b27d8a398242457fa4c8b7d38d1fb6e725c04
parentca961e6a62987dc75931b7714d94fb998d586888
torture/ntlm_auth: do not assume a line is less than 2047 bytes

These tests would fail when ran in our cloud. This was due to lines that
were more than 2047 bytes in length, causing us to fail readLine with a
ReadChildError. This fix lets it read lines of any length, but in 2047
byte segments.

Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/torture/test_ntlm_auth.py