summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-12 19:54:26 +0100
committerVolker Lendecke <vl@samba.org>2011-02-13 12:11:53 +0100
commit80accd3946f64108b23f39398f1f92a77e4c7335 (patch)
tree464d8a7fcf6aff4eabdd42496d5583f6b7a6103b
parent9331bc378d609941a1bdbe793e1cf3f12e1a61da (diff)
downloadsamba-80accd3946f64108b23f39398f1f92a77e4c7335.tar.gz
samba-80accd3946f64108b23f39398f1f92a77e4c7335.tar.bz2
samba-80accd3946f64108b23f39398f1f92a77e4c7335.zip
Fix typos
-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;