self.nc_change()
if mid_change:
- # create even moire objects
+ # create even more objects
objs = self.create_object_range(301, 450, prefix="obj2")
base_msg = self.default_conn.ldb_dc.search(base=self.base_dn,
self.assertIn(self.mod_becomes,
self.sd_utils_dc2.get_sd_as_sddl(self.ou))
- # Confirm inherited ACLs are identical and were inheritied
+ # Confirm inherited ACLs are identical and were inherited
self.assertIn(self.mod_inherits_as,
self.sd_utils_dc1.get_sd_as_sddl(dn))
self.sd_utils_dc2.get_sd_as_sddl(sub3_ou_dn_final))
# Confirm inherited ACLs (from l3 to l4) are identical
- # and where inherited
+ # and were inherited
self.assertIn(self.mod_inherits_as,
self.sd_utils_dc1.get_sd_as_sddl(sub4_ou_dn_final))
self.assertEqual(self.sd_utils_dc1.get_sd_as_sddl(sub4_ou_dn_final),
/* Ok. We have run all our tests. Walk through the records we
* accumulated and figure out whether the lookups took constant
- * time of not.
+ * time or not.
*/
result = true;
for (i = 0; i < ARRAY_SIZE(records); ++i) {
union smb_open io;
uint16_t fnum=0;
- torture_assert(tctx, torture_setup_dir(cli, BASEDIR), "Failed to setup up test directory: " BASEDIR);
+ torture_assert(tctx, torture_setup_dir(cli, BASEDIR), "Failed to set up test directory: " BASEDIR);
/* cleanup */
smbcli_unlink(cli->tree, fname);
printf("Setting up open files with oplocks in %s\n", BASEDIR);
- torture_assert(torture, torture_setup_dir(cli, BASEDIR), "Failed to setup up test directory: " BASEDIR);
+ torture_assert(torture, torture_setup_dir(cli, BASEDIR), "Failed to set up test directory: " BASEDIR);
smbcli_oplock_handler(cli->transport, oplock_handler_hold, cli->tree);
break;
default:
torture_assert_int_equal(tctx, e->type, LSA_FOREST_TRUST_TOP_LEVEL_NAME,
- "Unexptected LSA_FOREST_TRUST_* type");
+ "Unexpected LSA_FOREST_TRUST_* type");
}
}
"Credential chaining failed");
} else {
torture_assert(tctx, !netlogon_creds_client_check(creds, &credentials3),
- "Credential chaining passed unexptected");
+ "Credential chaining passed unexpected");
}
torture_comment(tctx, "negotiate_flags=0x%08x\n", negotiate_flags);
"Unable to obtain a suitable session key, "
"after [%u] attempts\n",
i);
- torture_fail(tctx, "Unable obtain suitable session key");
+ torture_fail(tctx, "Unable to obtain suitable session key");
}
torture_assert_ntstatus_ok(
"trust_list flags TREEROOT on forest root");
torture_assert_int_equal(tctx,
tex2->parent_index, 0,
- "trust_list no parent on foreset root");
+ "trust_list no parent on forest root");
}
torture_assert_int_equal(tctx,
tex2->trust_type, LSA_TRUST_TYPE_UPLEVEL,
sizeof(user_session_key)) != 0) {
if (memcmp(lmv2_session_key.data, user_session_key,
sizeof(user_session_key)) == 0) {
- torture_comment(samlogon_state->tctx, "USER (NTLMv2) Session Key expected, got LMv2 sessesion key instead:\n");
+ torture_comment(samlogon_state->tctx, "USER (NTLMv2) Session Key expected, got LMv2 session key instead:\n");
torture_comment(samlogon_state->tctx, "user_session_key:\n");
dump_data(1, user_session_key, 16);
torture_comment(samlogon_state->tctx, "expected:\n");
sizeof(lm_session_key)) != 0) {
if (memcmp(lmv2_session_key.data, lm_session_key,
sizeof(lm_session_key)) == 0) {
- torture_comment(samlogon_state->tctx, "LM (NTLMv2) Session Key expected, got LMv2 sessesion key instead:\n");
+ torture_comment(samlogon_state->tctx, "LM (NTLMv2) Session Key expected, got LMv2 session key instead:\n");
torture_comment(samlogon_state->tctx, "user_session_key:\n");
dump_data(1, lm_session_key, 8);
torture_comment(samlogon_state->tctx, "expected:\n");
"talloc_zero_array");
/*
- * First we open additional the tcp connections
+ * First we open the additional tcp connections
*/
for (i = 0; i < state->num_conns; i++) {
}
/*
- * No we check that the connections are still usable
+ * Now we check that the connections are still usable
*/
for (i = 0; i < state->num_conns; i++) {
struct test_multichannel_bug_15346_conn *conn = &state->conns[i];
"smb2_util_roothandle failed");
/*
- * No we check that the connections are still usable
+ * Now we check that the connections are still usable
*/
for (i = 0; i < state->num_conns; i++) {
struct test_multichannel_bug_15346_conn *conn = &state->conns[i];