summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass_attrs.c4
-rw-r--r--source4/dsdb/schema/schema_syntax.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c
index 3c22eed7f8..555295a6f4 100644
--- a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c
+++ b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c
@@ -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");
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index 1458c2f921..59f9ff33ae 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -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) {