s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
authorGünther Deschner <gd@samba.org>
Mon, 12 Aug 2013 15:23:12 +0000 (17:23 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Aug 2013 08:58:55 +0000 (10:58 +0200)
commit3487e4905771225e493f12acd0e2964ad0a75c74
tree4363e4447dcce257c4148eaeb08ff532783f0241
parent7accc37e58b7720370cd60740a20962020462edd
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
source3/winbindd/winbindd_cm.c