git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf002d1
)
Assert on failure to join domain in NBT-DGRAM
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 14 Aug 2008 01:54:19 +0000
(11:54 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 14 Aug 2008 01:54:19 +0000
(11:54 +1000)
(This used to be commit
0a8080d0f245ddf0177195dd8e7fb3e1cdc0785f
)
source4/torture/nbt/dgram.c
patch
|
blob
|
history
diff --git
a/source4/torture/nbt/dgram.c
b/source4/torture/nbt/dgram.c
index 665a08bd5c1ed25ef7292d53df2d4a52a6ea7c1a..eac2b1fe30951169663a50f66ba1edefb6848408 100644
(file)
--- a/
source4/torture/nbt/dgram.c
+++ b/
source4/torture/nbt/dgram.c
@@
-291,6
+291,10
@@
static bool nbt_test_netlogon2(struct torture_context *tctx)
join_ctx = torture_join_domain(tctx, TEST_NAME,
ACB_WSTRUST, &machine_credentials);
+ torture_assert(tctx, join_ctx != NULL,
+ talloc_asprintf(tctx, "Failed to join domain %s as %s\n",
+ lp_workgroup(tctx->lp_ctx), TEST_NAME));
+
dom_sid = torture_join_sid(join_ctx);
/* setup (another) temporary mailslot listener for replies */