1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3-net: fix "net ads testjoin".

This always needs to use machine account credentials.

Kai, please check.

Guenther
This commit is contained in:
Günther Deschner 2009-06-09 15:41:44 +02:00
parent 71caa90cd8
commit 72fd5fa6bb

View File

@ -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)) {