git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a0db8c
)
s3-libnet_join: return the allocated netr_DsRGetDCNameInfo struct
author
Günther Deschner
<gd@samba.org>
Tue, 2 Mar 2021 16:45:46 +0000
(17:45 +0100)
committer
Günther Deschner
<gd@samba.org>
Wed, 14 Jul 2021 16:49:30 +0000
(16:49 +0000)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/libnet/libnet_join.c
patch
|
blob
|
history
diff --git
a/source3/libnet/libnet_join.c
b/source3/libnet/libnet_join.c
index da926d26b8c301ac0cdbf48e7b90991037ab6a3f..822edc12a75ae428e4eeae676bbfe3b009692012 100644
(file)
--- a/
source3/libnet/libnet_join.c
+++ b/
source3/libnet/libnet_join.c
@@
-2667,6
+2667,9
@@
static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
sitename = info->dc_site_name;
/* info goes out of scope but the memory stays
allocated on the talloc context */
+
+ /* return the allocated netr_DsRGetDCNameInfo struct */
+ r->out.dcinfo = info;
}
if (pre_connect_realm != NULL) {