1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

torture/samba3rpc: Use NETLOGON_NEG_AUTH2_ADS_FLAGS

This allows this test to pass after "allow nt4 crypto" is removed from
the default environment.

We now only set it in ad_dc

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Bartlett 2016-12-14 15:09:15 +13:00 committed by Stefan Metzmacher
parent 380ec1bb72
commit f55dc9cf72

View File

@ -1070,7 +1070,7 @@ static bool auth2(struct torture_context *tctx,
goto done;
}
negotiate_flags = NETLOGON_NEG_AUTH2_FLAGS;
negotiate_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS;
E_md4hash(cli_credentials_get_password(wks_cred), mach_pw.hash);
a.in.server_name = talloc_asprintf(