Fix typos
authorVolker Lendecke <vl@samba.org>
Sat, 12 Feb 2011 18:54:26 +0000 (19:54 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 13 Feb 2011 11:11:53 +0000 (12:11 +0100)
source3/lib/tldap.c
source4/dsdb/samdb/ldb_modules/password_hash.c

index 775d9ad817af1e7d2efa1a2fc2cd869212f18013..71afab9a6e57dc0869cea06537f7f19caf68ec9e 100644 (file)
@@ -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);
index ea51001365267a4c5ef1990ae769b0e9c781ea28..53d12d96df39ac0604b09dbe79c9d7225f2fb202 100644 (file)
@@ -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;