mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
libgpo: use existing connection to the ds for the sysvol queries.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
24cc4d5ac1
commit
36abc1c4e6
@ -164,8 +164,9 @@ NTSTATUS gpo_fetch_files(TALLOC_CTX *mem_ctx,
|
||||
&unix_path);
|
||||
NT_STATUS_NOT_OK_RETURN(result);
|
||||
|
||||
/* for now reuse the existing ds connection */
|
||||
|
||||
result = gpo_connect_server(ads, server, service, &cli);
|
||||
result = gpo_connect_server(ads, ads->server.ldap_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