summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/tldap.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 775d9ad817..71afab9a6e 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -506,7 +506,7 @@ static bool tldap_msg_set_pending(struct tevent_req *req)
}
/*
- * We're the first ones, add the read_ldap request that waits for the
+ * We're the first one, add the read_ldap request that waits for the
* answer from the server
*/
subreq = read_ldap_send(ld->pending, state->ev, ld->conn);
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index ea51001365..53d12d96df 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -1938,7 +1938,7 @@ static int check_password_restrictions(struct setup_password_fields_io *io)
ret = LDB_ERR_CONSTRAINT_VIOLATION;
ldb_asprintf_errstring(ldb,
"%08X: %s - check_password_restrictions: "
- "the password does not meet the complexity criterias!",
+ "the password does not meet the complexity criteria!",
W_ERROR_V(WERR_PASSWORD_RESTRICTION),
ldb_strerror(ret));
io->ac->status->reject_reason = SAM_PWD_CHANGE_NOT_COMPLEX;