From 80accd3946f64108b23f39398f1f92a77e4c7335 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 12 Feb 2011 19:54:26 +0100 Subject: [PATCH] Fix typos --- source3/lib/tldap.c | 2 +- source4/dsdb/samdb/ldb_modules/password_hash.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 775d9ad817a..71afab9a6e5 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 ea510013652..53d12d96df3 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;