winbindd: Reset connection for expired session before reconnecting
authorChristof Schmitt <cs@samba.org>
Tue, 5 Jan 2016 20:39:25 +0000 (13:39 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 12 Jan 2016 23:26:16 +0000 (00:26 +0100)
commitfb5b0cec3c0c2e0cf9cb04f8b52ee910ac245aeb
treeb46486693036f08b5406a2228352ca8a80d5ce91
parent3ac2d4b59eff58f06af1eef19cef0d444f4257ca
winbindd: Reset connection for expired session before reconnecting

A RPC call on a expired SMB2 session returns IO_DEVICE_ERROR. In this
case, reset the connection before issuing the same call
again.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_reconnect.c