pdbtest: make use of make_auth3_context_for_ntlm()
[sfrench/samba-autobuild/.git] / 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)));