auth:creds: Prefer the principal over DOMAIN/username when using NTLM
authorAndreas Schneider <asn@samba.org>
Mon, 1 Apr 2019 13:59:10 +0000 (15:59 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 2 Apr 2019 01:12:10 +0000 (01:12 +0000)
commit5c7f0a6902cfdd698e5f4159d37537bb4c9c1cc3
tree0a7b19db3cc51292d7bc21e9e287047c0d3bb8e4
parent9e92654899db3c951bee0203415a15737402e7b7
auth:creds: Prefer the principal over DOMAIN/username when using NTLM

If we want to authenticate using -Wadmin@otherdomain the DC should do
take care of the authentication with the right DC for us.

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

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/credentials/credentials.c