s4: fix few comment typos
authorKamen Mazdrashki <kamenim@samba.org>
Tue, 17 Aug 2010 01:48:24 +0000 (04:48 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Thu, 19 Aug 2010 00:34:02 +0000 (03:34 +0300)
source4/dsdb/samdb/ldb_modules/objectclass_attrs.c
source4/dsdb/schema/schema_syntax.c

index 3c22eed7f8275adeec000f61ea31544f55c414f7..555295a6f4e7bfed7a07653aa11c57eaf4020dd1 100644 (file)
@@ -139,7 +139,7 @@ static int attr_handler(struct oc_context *ac)
                        }
                }
 
-               /* subsitute the attribute name to match in case */
+               /* Substitute the attribute name to match in case */
                msg->elements[i].name = attr->lDAPDisplayName;
        }
 
@@ -181,7 +181,7 @@ static int attr_handler2(struct oc_context *ac)
                return ldb_operr(ldb);
        }
 
-       /* We rely here on the preceeding "objectclass" LDB module which did
+       /* We rely here on the preceding "objectclass" LDB module which did
         * already fix up the objectclass list (inheritance, order...). */
        oc_element = ldb_msg_find_element(ac->search_res->message,
                                          "objectClass");
index 1458c2f92184dd6d4e8269f8e03af44ffc6598f9..59f9ff33ae350c33f03e7e48eb91768d9586355f 100644 (file)
@@ -1223,7 +1223,7 @@ static WERROR dsdb_syntax_OID_drsuapi_to_ldb(const struct dsdb_syntax_ctx *ctx,
        }
 
        /* When we are doing the vampire of a schema, we don't want
-        * the inablity to reference an OID to get in the way.
+        * the inability to reference an OID to get in the way.
         * Otherwise, we won't get the new schema with which to
         * understand this */
        if (!W_ERROR_IS_OK(werr) && ctx->schema->relax_OID_conversions) {