Skip to content

Commit

Permalink
libgpo: Correctly use the 'server' parameter after parsing it out of …
Browse files Browse the repository at this point in the history
…the GPO path.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12135

Signed-off-by: Jeremy Allison <[email protected]>
Reviewed-by: Uri Simchoni <[email protected]>
  • Loading branch information
jrasamba authored and urisimchoni committed Aug 10, 2016
1 parent 27ebf64 commit 2a8ccc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgpo/gpo_fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2a8ccc0

Please sign in to comment.