From f55dc9cf72d7d8a2a3754dd8901d50e5611d8f5d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 14 Dec 2016 15:09:15 +1300 Subject: 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 Reviewed-by: Stefan Metzmacher --- source4/torture/rpc/samba3rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 9da6b54e6ff..1bcbdf3ae88 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -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( -- cgit v1.2.1