mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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:
parent
0b1e63ce25
commit
879c291363
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user