mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
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>
This commit is contained in:
parent
27ebf64b34
commit
2a8ccc0841
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user