winbindd: fix logic calling dcerpc_binding_handle_is_connected()
authorRalph Boehme <slow@samba.org>
Mon, 12 Mar 2018 15:15:02 +0000 (16:15 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 15 Mar 2018 14:46:09 +0000 (15:46 +0100)
commit08718af36f3ed6cf2308beb3800abfb0414f94b9
treee18f5033538c0b983b74fd4f156bb567cdfc2fb9
parent966ff3793a867a5ffe1a49e48c8ab3ecb02f8359
winbindd: fix logic calling dcerpc_binding_handle_is_connected()

The calls were missing the negation operator, a retry should be
attempted is the binding handle got somehow disconnected behind the
scenes and is NOT connected.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13332

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd_dual_srv.c