From 1305ba67565976466aa6ebc4dd4f50dd34374002 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 9 Aug 2016 11:57:20 -0700 Subject: [PATCH] libgpo: Correctly use the 'server' parameter after parsing it out of the GPO path. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12135 Signed-off-by: Jeremy Allison Reviewed-by: Uri Simchoni (cherry picked from commit 2a8ccc0841184c2df9fc19f8452009b92071c115) Autobuild-User(v4-4-test): Karolin Seeger Autobuild-Date(v4-4-test): Tue Aug 16 16:26:28 CEST 2016 on sn-devel-144 --- libgpo/gpo_fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgpo/gpo_fetch.c b/libgpo/gpo_fetch.c index 07141d42cac..6b01544faee 100644 --- a/libgpo/gpo_fetch.c +++ b/libgpo/gpo_fetch.c @@ -166,7 +166,7 @@ NTSTATUS gpo_fetch_files(TALLOC_CTX *mem_ctx, /* for now reuse the existing ds connection */ - result = gpo_connect_server(ads, ads->server.ldap_server, service, &cli); + result = gpo_connect_server(ads, server, service, &cli); NT_STATUS_NOT_OK_RETURN(result); result = gpo_prepare_local_store(mem_ctx, cache_dir, unix_path); -- 2.11.4.GIT