s3:winbindd: rely on the kerberos_state from pdb_get_trust_credentials()
commitba39080cbe3443ff08d231e30a99bb754f83edc2
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Feb 2017 19:07:25 +0000 (22 20:07 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Feb 2017 08:38:24 +0000 (28 09:38 +0100)
treeed7c8840bbefb20d79efa02254340dcad2d87715
parentc07f071e86067a90ec36643287470c7ec8cc0fda
s3:winbindd: rely on the kerberos_state from pdb_get_trust_credentials()

The implementation of pdb_get_trust_credentials() should have all
the details to set the kerberos_state to a useful value.

This should enable the fallback to NTLMSSP again, when using our
machine account against trusted domains.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 51caeb7c538b7546e5feccf27a735bb803c78a0b)
source3/winbindd/winbindd_cm.c