From 9e6c88bda5ad8ea68f2471fbbe959b1282457f52 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Tue, 27 Sep 2011 17:30:16 -0700 Subject: smbtorture: avoid sigsev if the password is not correct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Dieter Wallnöfer Signed-off-by: Stefan Metzmacher --- source4/torture/nbt/dgram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/nbt/dgram.c b/source4/torture/nbt/dgram.c index 68d44ff774..7678057f94 100644 --- a/source4/torture/nbt/dgram.c +++ b/source4/torture/nbt/dgram.c @@ -481,11 +481,11 @@ static bool nbt_test_ntlogon(struct torture_context *tctx) join_ctx = torture_join_domain(tctx, TEST_NAME, ACB_WSTRUST, &machine_credentials); - dom_sid = torture_join_sid(join_ctx); torture_assert(tctx, join_ctx != NULL, talloc_asprintf(tctx, "Failed to join domain %s as %s\n", lpcfg_workgroup(tctx->lp_ctx), TEST_NAME)); + dom_sid = torture_join_sid(join_ctx); /* setup a temporary mailslot listener for replies */ dgmslot = dgram_mailslot_temp(dgmsock, NBT_MAILSLOT_GETDC, -- cgit