summaryrefslogtreecommitdiff
path: root/libgpo
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2016-08-09 11:57:20 -0700
committerUri Simchoni <uri@samba.org>2016-08-10 08:18:17 +0200
commit2a8ccc0841184c2df9fc19f8452009b92071c115 (patch)
tree5a7ffadf407f5e8c255134164c6a10c3c31e2fa2 /libgpo
parent27ebf64b347a770e0d1ad4f1db645cb1b8dd5861 (diff)
downloadsamba-2a8ccc0841184c2df9fc19f8452009b92071c115.tar.gz
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 <jra@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
Diffstat (limited to 'libgpo')
-rw-r--r--libgpo/gpo_fetch.c2
1 files changed, 1 insertions, 1 deletions
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);