git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2f15f
)
s3-net: Make sure to always re-use the "good" dc for the DNS updates as well.
author
Günther Deschner
<gd@samba.org>
Fri, 28 Oct 2011 10:03:58 +0000
(12:03 +0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 28 Oct 2011 17:13:49 +0000
(19:13 +0200)
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Oct 28 19:13:49 CEST 2011 on sn-devel-104
source3/utils/net_ads.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_ads.c
b/source3/utils/net_ads.c
index c17367a0a40711295571a49b0a13edcd6937b089..b6144322928c0e3f3b0062c49b1932eae39cffb2 100644
(file)
--- a/
source3/utils/net_ads.c
+++ b/
source3/utils/net_ads.c
@@
-1466,7
+1466,7
@@
int net_ads_join(struct net_context *c, int argc, const char **argv)
/* We enter this block with user creds */
ADS_STRUCT *ads_dns = NULL;
- if ( (ads_dns = ads_init( lp_realm(), NULL,
NULL
)) != NULL ) {
+ if ( (ads_dns = ads_init( lp_realm(), NULL,
r->in.dc_name
)) != NULL ) {
/* kinit with the machine password */
use_in_memory_ccache();