s3-libnet_join: allow fallback to NTLMSSP auth in libnet_join
authorGünther Deschner <gd@samba.org>
Tue, 2 Apr 2019 11:16:55 +0000 (13:16 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 3 Apr 2019 18:57:31 +0000 (18:57 +0000)
commit377d27359ccdb8f2680fda36ca388f44456590e5
tree2d500a12cf84226a1d6c2eb51f6ba88a3f0858d6
parent68121f46c74df9cef7a377040d01ba75cdcf5a26
s3-libnet_join: allow fallback to NTLMSSP auth in libnet_join

When a non-DNS and non-default admin domain is provided during the join
sometimes we might not be able to kinit with 'user@SHORTDOMAINNAME'
(e.g. when the winbind krb5 locator is not installed). In that case lets
fallback to NTLMSSP, like we do in winbind.

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

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Apr  3 18:57:31 UTC 2019 on sn-devel-144
source3/libnet/libnet_join.c