From c6a3dedd99b57345af1b51bad560709319ec8caa Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 9 Aug 2011 22:15:23 +0200 Subject: s3:libsmb: store the remote_realm on the cli_state metze --- source3/winbindd/winbindd_cm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/winbindd') 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; -- cgit