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:
parent
f1bd7c8bb4
commit
8fde1c641d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user