git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7d54f4
)
s3-net: fix "net ads testjoin".
author
Günther Deschner
<gd@samba.org>
Tue, 9 Jun 2009 13:41:44 +0000
(15:41 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 10 Jun 2009 06:53:57 +0000
(08:53 +0200)
This always needs to use machine account credentials.
Fixes bug #6456.
Kai, please check.
Guenther
Signed-off-by: Kai Blin <kai@samba.org>
source3/utils/net_ads.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_ads.c
b/source3/utils/net_ads.c
index 4503231566ccd4d762162161a7d55ca98035ba5e..588f57f030daa4876444fbbab1053847c88ba61d 100644
(file)
--- a/
source3/utils/net_ads.c
+++ b/
source3/utils/net_ads.c
@@
-953,6
+953,7
@@
static NTSTATUS net_ads_join_ok(struct net_context *c)
}
set_cmdline_auth_info_use_machine_account(c->auth_info);
+ set_cmdline_auth_info_machine_account_creds(c->auth_info);
status = ads_startup(c, true, &ads);
if (!ADS_ERR_OK(status)) {