1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:winbindd: always use saf_store(domain->alt_name, controller) for ad domains

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2016-11-04 12:56:20 +01:00 committed by Andreas Schneider
parent 0b1e63ce25
commit 879c291363

View File

@ -1237,7 +1237,7 @@ static NTSTATUS cm_prepare_connection(struct winbindd_domain *domain,
/* cache the server name for later connections */
saf_store(domain->name, controller);
if (domain->alt_name && (*cli)->use_kerberos) {
if (domain->alt_name) {
saf_store(domain->alt_name, controller);
}