diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 5f2c8c14634..2a3d7177763 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -960,9 +960,9 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, /* cache the server name for later connections */ - saf_store( domain->name, (*cli)->desthost ); + saf_store(domain->name, controller); if (domain->alt_name && (*cli)->use_kerberos) { - saf_store( domain->alt_name, (*cli)->desthost ); + saf_store(domain->alt_name, controller); } winbindd_set_locator_kdc_envs(domain); |