join: Fix join large-DB timeout against Windows
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 5 Nov 2018 01:30:14 +0000 (14:30 +1300)
committerTim Beale <timbeale@samba.org>
Tue, 6 Nov 2018 02:39:11 +0000 (03:39 +0100)
commit02d41fea33e3ad521fbef2d4f00af2db35edd9d9
tree31b67e881c6a60191bf071fc2150831b41b5dcc5
parente355a6bc59624f9328a6dbf33b335c57e9c8e10f
join: Fix join large-DB timeout against Windows

The LDAP connection can also timeout when trying to join a Windows DC
with a very large database. However, in this case Windows gives a
slightly different error message (NT_STATUS_CONNECTION_RESET instead of
NT_STATUS_CONNECTION_DISCONNECTED).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13612

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/join.py