summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-09 22:15:23 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-10 11:14:55 +0200
commitc6a3dedd99b57345af1b51bad560709319ec8caa (patch)
tree2175d5aee3f7078eb080cff13032241f6121bc8c /source3/winbindd
parenta7265675d5cd41f05a0ebaba43ad36a389419db2 (diff)
downloadsamba-c6a3dedd99b57345af1b51bad560709319ec8caa.tar.gz
samba-c6a3dedd99b57345af1b51bad560709319ec8caa.tar.bz2
samba-c6a3dedd99b57345af1b51bad560709319ec8caa.zip
s3:libsmb: store the remote_realm on the cli_state
metze
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 26cd8bc0c2..00acc0ee20 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -806,7 +806,9 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
goto done;
}
- *cli = cli_state_create(NULL, sockfd, controller, Undefined);
+ *cli = cli_state_create(NULL, sockfd,
+ controller, domain->alt_name,
+ Undefined);
if (*cli == NULL) {
DEBUG(1, ("Could not cli_initialize\n"));
result = NT_STATUS_NO_MEMORY;