summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:52:55 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:10 +0200
commit477a8a7e479952640703ca2f30dc6e184a57edb1 (patch)
tree7ac5dd94867ca6a56d2f7e7457bac39e427c8b7a /source3
parente0a38c3a36311de5579ddc5eafb8868a68563928 (diff)
downloadsamba-477a8a7e479952640703ca2f30dc6e184a57edb1.tar.gz
samba-477a8a7e479952640703ca2f30dc6e184a57edb1.tar.bz2
samba-477a8a7e479952640703ca2f30dc6e184a57edb1.zip
s3:winbindd_cm: use controller instead of cli->desthost
The should have the same value. metze
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_cm.c4
1 files changed, 2 insertions, 2 deletions
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);