git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a38c3
)
s3:winbindd_cm: use controller instead of cli->desthost
author
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Jul 2011 14:52:55 +0000
(16:52 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Jul 2011 15:06:10 +0000
(17:06 +0200)
The should have the same value.
metze
source3/winbindd/winbindd_cm.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cm.c
b/source3/winbindd/winbindd_cm.c
index 5f2c8c146346496406c7c02436013d3e3a657742..2a3d7177763679070eb5ed4043c25849ed5630cf 100644
(file)
--- 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);