diff options
author | Andrew Bartlett <abartlet@samba.org> | 2016-12-14 15:09:15 +1300 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-12-14 11:55:18 +0100 |
commit | f55dc9cf72d7d8a2a3754dd8901d50e5611d8f5d (patch) | |
tree | de06eadf848f59653b15d52ef9798d5a335609c5 | |
parent | 380ec1bb72378b7acfe52da25839633016367337 (diff) | |
download | samba-f55dc9cf72d7d8a2a3754dd8901d50e5611d8f5d.tar.gz |
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>
-rw-r--r-- | source4/torture/rpc/samba3rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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( |