pdbtest: make use of make_auth3_context_for_ntlm()
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Mar 2017 11:29:26 +0000 (12:29 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Mar 2017 10:57:09 +0000 (11:57 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/torture/pdbtest.c

index a9f49bb48d24b3e74560ac9ad717a5ae9bea0fc7..000356644c12fab3d3097dd2f90c06c527f3c081 100644 (file)
@@ -299,7 +299,7 @@ static bool test_auth(TALLOC_CTX *mem_ctx, struct samu *pdb_entry)
                return False;
        }
 
-       status = make_auth_context_subsystem(NULL, &auth_context);
+       status = make_auth3_context_for_ntlm(NULL, &auth_context);
 
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(0, ("Failed to test authentication with check_sam_security_info3: %s\n", nt_errstr(status)));