git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5b72d
)
No need to re-establish AD connection all the time.
author
Günther Deschner
<gd@samba.org>
Tue, 15 Jan 2008 10:00:37 +0000
(11:00 +0100)
committer
Günther Deschner
<gd@samba.org>
Tue, 15 Jan 2008 10:02:56 +0000
(11:02 +0100)
Guenther
source/libnet/libnet_join.c
patch
|
blob
|
history
diff --git
a/source/libnet/libnet_join.c
b/source/libnet/libnet_join.c
index 6c50d9c09b53936951af99dbe5a071be69de7126..c60f4c98035ca00fda2304518a3933361e386779 100644
(file)
--- a/
source/libnet/libnet_join.c
+++ b/
source/libnet/libnet_join.c
@@
-107,10
+107,6
@@
static ADS_STATUS libnet_join_connect_ads(TALLOC_CTX *mem_ctx,
{
ADS_STATUS status;
- if (r->in.ads) {
- ads_destroy(&r->in.ads);
- }
-
status = libnet_connect_ads(r->in.domain_name,
r->in.domain_name,
r->in.dc_name,
@@
-134,10
+130,6
@@
static ADS_STATUS libnet_unjoin_connect_ads(TALLOC_CTX *mem_ctx,
{
ADS_STATUS status;
- if (r->in.ads) {
- ads_destroy(&r->in.ads);
- }
-
status = libnet_connect_ads(r->in.domain_name,
r->in.domain_name,
r->in.dc_name,