From 477a8a7e479952640703ca2f30dc6e184a57edb1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 16:52:55 +0200 Subject: s3:winbindd_cm: use controller instead of cli->desthost The should have the same value. metze --- source3/winbindd/winbindd_cm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 5f2c8c1463..2a3d717776 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); -- cgit