diff options
author | Günther Deschner <gd@samba.org> | 2009-06-09 15:41:44 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-06-09 15:41:44 +0200 |
commit | 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b (patch) | |
tree | 121bc9f97b043404717322f56d734d21d1966fe6 /source3 | |
parent | 71caa90cd86332965d486b9af545f335e46b4425 (diff) | |
download | samba-72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b.tar.gz |
s3-net: fix "net ads testjoin".
This always needs to use machine account credentials.
Kai, please check.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_ads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 4503231566c..588f57f030d 100644 --- 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)) { |