s3:winbindd: rely on the kerberos_state from pdb_get_trust_credentials()
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Feb 2017 19:07:25 +0000 (20:07 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Feb 2017 17:40:15 +0000 (18:40 +0100)
commit51caeb7c538b7546e5feccf27a735bb803c78a0b
treef1e20ba446afc0775e08badbb6ad511957413a9f
parentba9d139ec3d71af184a24daf24356304c2e49144
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>
source3/winbindd/winbindd_cm.c