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)
committerKarolin Seeger <kseeger@samba.org>
Fri, 20 Apr 2018 09:56:22 +0000 (11:56 +0200)
commit5bf61b01164afec5678818cdfd5e1980ddc37acc
treefe76f33682333d50f300e38774d966626d56893b
parentc4fd5a390dfb6dbc4def7de110102008a765db85
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>
(cherry picked from commit 08718af36f3ed6cf2308beb3800abfb0414f94b9)
source3/winbindd/winbindd_dual_srv.c