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

s3/torture/pdbtest: delete trusted domain at test end

Signed-off-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Ralph Boehme 2017-12-11 07:56:40 +01:00 committed by Karolin Seeger
parent f1bd7c8bb4
commit 8fde1c641d

View File

@ -526,6 +526,13 @@ static bool test_trusted_domains(TALLOC_CTX *ctx,
*error = true;
}
rv = pdb->del_trusted_domain(pdb, TRUST_DOM);
if (!NT_STATUS_IS_OK(rv)) {
fprintf(stderr, "Error in del_trusted_domain %s\n",
get_friendly_nt_error_msg(rv));
*error = true;
}
return true;
}