s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
commit6cefd961094ee15841bb2b0a00eab9eee86ee91d
authorGünther Deschner <gd@samba.org>
Mon, 12 Aug 2013 15:23:12 +0000 (12 17:23 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 18 Sep 2013 08:41:20 +0000 (18 10:41 +0200)
tree5b86917eda7f4109cc8585d46c6c9980e96f7dc3
parent40cae0c94db6ece270481a2535f0ff6c04b176d0
s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().

Fallback to lsa named-pipe connection when tcp connection has failed twice (it
could be a trusted domain connection where we cannot setup a secure channel).

Guenther

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

Signed-off-by: Günther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Tested-by: Christof Schmitt <christof.schmitt@us.ibm.com>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Aug 13 20:55:33 CEST 2013 on sn-devel-104
(cherry picked from commit 87adc2118677b7cabc3f3b476313b254856f5f9d)
source3/winbindd/winbindd_cm.c