From 2a8ccc0841184c2df9fc19f8452009b92071c115 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 9 Aug 2016 11:57:20 -0700 Subject: 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 --- libgpo/gpo_fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgpo') diff --git a/libgpo/gpo_fetch.c b/libgpo/gpo_fetch.c index 97ecd62d9d7..836bc23f2d2 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); -- cgit v1.2.1