diff options
author | Ralph Boehme <slow@samba.org> | 2017-12-11 07:56:40 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-01-13 12:55:07 +0100 |
commit | 8fde1c641da4ba23342bf36226ab9291a79acbad (patch) | |
tree | 8ced00774a928c1ce186f2ba88dce0c3ebb7a93c | |
parent | f1bd7c8bb48abc8fabb8374f549b888fbdd3036c (diff) | |
download | samba-8fde1c641da4ba23342bf36226ab9291a79acbad.tar.gz |
s3/torture/pdbtest: delete trusted domain at test end
Signed-off-by: Ralph Boehme <slow@samba.org>
-rw-r--r-- | source3/torture/pdbtest.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c index 71b5c61fc58..64bc45e6a7c 100644 --- a/source3/torture/pdbtest.c +++ b/source3/torture/pdbtest.c @@ -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; } |