git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f1bd7c8
)
s3/torture/pdbtest: delete trusted domain at test end
author
Ralph Boehme
<slow@samba.org>
Mon, 11 Dec 2017 06:56:40 +0000
(07:56 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Sat, 13 Jan 2018 11:55:07 +0000
(12:55 +0100)
Signed-off-by: Ralph Boehme <slow@samba.org>
source3/torture/pdbtest.c
patch
|
blob
|
history
diff --git
a/source3/torture/pdbtest.c
b/source3/torture/pdbtest.c
index 71b5c61fc58eeb179b1d48f88fc53e6bb5a1f8e0..64bc45e6a7c6baf261e2b4b29ccf11df031a3960 100644
(file)
--- 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;
}