summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-08-17 04:48:24 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-08-19 03:34:02 +0300
commitfffc98f33e333b8711da053e5cd5ddcc601cd275 (patch)
tree18dc6b4a8d2c463d110a86a193e7e8690fc83afe
parentd01804dda9d1e1793f3e1d2f863c4444ed7e900c (diff)
downloadsamba-fffc98f33e333b8711da053e5cd5ddcc601cd275.tar.gz
samba-fffc98f33e333b8711da053e5cd5ddcc601cd275.tar.bz2
samba-fffc98f33e333b8711da053e5cd5ddcc601cd275.zip
s4: fix few comment typos
-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) {