summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/kludge_acl.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/kludge_acl.c b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
index 4153456aa1..d6f7861f6b 100644
--- a/source4/dsdb/samdb/ldb_modules/kludge_acl.c
+++ b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
@@ -206,7 +206,7 @@ static int kludge_acl_init_2(struct ldb_module *module)
}
if (res->count > 1) {
- return LDB_ERR_CONSTRAINT_VIOLAION;
+ return LDB_ERR_CONSTRAINT_VIOLATION;
}
msg = res->msgs[0];
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index 2b979857d9..e52d4e6563 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -170,7 +170,7 @@ static int password_hash_handle(struct ldb_module *module, struct ldb_request *r
talloc_asprintf(mem_ctx, "sambaPassword_handle: "
"attempted set of multiple sambaPassword attributes on %s rejected",
ldb_dn_linearize(mem_ctx, dn)));
- return LDB_ERR_CONSTRAINT_VIOLAION;
+ return LDB_ERR_CONSTRAINT_VIOLATION;
}
sambaPassword = (const char *)attribute->values[0].data;
@@ -178,7 +178,7 @@ static int password_hash_handle(struct ldb_module *module, struct ldb_request *r
} else if (((attribute->flags & LDB_FLAG_MOD_MASK) == LDB_FLAG_MOD_ADD)
|| ((attribute->flags & LDB_FLAG_MOD_MASK) == LDB_FLAG_MOD_REPLACE)) {
if (attribute->num_values != 1) {
- return LDB_ERR_CONSTRAINT_VIOLAION;
+ return LDB_ERR_CONSTRAINT_VIOLATION;
}
sambaPassword = (const char *)attribute->values[0].data;
@@ -298,7 +298,7 @@ static int password_hash_handle(struct ldb_module *module, struct ldb_request *r
"attempted set of sambaPassword on non-'person' object %s rejected",
ldb_dn_linearize(mem_ctx, dn)));
talloc_free(mem_ctx);
- return LDB_ERR_CONSTRAINT_VIOLAION;
+ return LDB_ERR_CONSTRAINT_VIOLATION;
}
computer_val = data_blob_string_const("computer");