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:
0879be9
)
s3-libnet: move rpc_join label into HAVE_ADS block with only caller
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 4 Mar 2018 09:57:22 +0000
(22:57 +1300)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 22 Mar 2018 07:00:25 +0000
(08:00 +0100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@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 5db2ca09ccc3e02da9bd75bdbb210d320c077a53..bbe604b729ee2688fe9ec076f9ae859714712bd3 100644
(file)
--- a/
source3/libnet/libnet_join.c
+++ b/
source3/libnet/libnet_join.c
@@
-2665,9
+2665,10
@@
static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
DEBUG(5, ("failed to precreate account in ou %s: %s",
r->in.account_ou, ads_errstr(ads_status)));
}
+ rpc_join:
+
#endif /* HAVE_ADS */
- rpc_join:
if ((r->in.join_flags & WKSSVC_JOIN_FLAGS_JOIN_UNSECURE) &&
(r->in.join_flags & WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED)) {
status = libnet_join_joindomain_rpc_unsecure(mem_ctx, r, cli);