git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24cc4d5
)
libgpo: use existing connection to the ds for the sysvol queries.
author
Günther Deschner
<gd@samba.org>
Tue, 10 Dec 2013 21:50:47 +0000
(22:50 +0100)
committer
Andreas Schneider
<asn@samba.org>
Thu, 12 Dec 2013 12:34:50 +0000
(13:34 +0100)
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo/gpo_fetch.c
patch
|
blob
|
history
diff --git
a/libgpo/gpo_fetch.c
b/libgpo/gpo_fetch.c
index 2d5506917141baa5ccc49e62a62c86f7fb96994b..9fdff7c2f2b49d0640e04c7111b12fc9440ed0fb 100644
(file)
--- a/
libgpo/gpo_fetch.c
+++ b/
libgpo/gpo_fetch.c
@@
-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);