Revert "s3-winbind: Fix schannel connections against trusted domain DCs"
commit45abd7bacd62363af2c37c3f95fac3a5e79456ef
authorStefan Metzmacher <metze@samba.org>
Fri, 24 Feb 2017 12:19:59 +0000 (24 13:19 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Feb 2017 15:55:14 +0000 (28 16:55 +0100)
treea65b3ebb86b8e702ac6228752d995bb3c8691235
parent1e6322ca4f5ce4afa0142044ef862f57a5f9cdea
Revert "s3-winbind: Fix schannel connections against trusted domain DCs"

This reverts commit d2379caa77fe02264323d69fee1bcad33f1bfeee.

This change doesn't solve the real problem, it just
causes useless network traffic and the following error:

rpccli_setup_netlogon_creds failed for W2012R2-L6, unable to setup NETLOGON
credentials: NT_STATUS_NO_TRUST_SAM_ACCOUNT

While the old logic caused NT_STATUS_CANT_ACCESS_DOMAIN_INFO (without
network traffic) instead of the NT_STATUS_NO_TRUST_SAM_ACCOUNT.

A better fix will follow.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 0bf1a7492bee2f7678cb37ef9515b8aefd26233b)
source3/winbindd/winbindd_cm.c