From 0b3deb20defaedb0570c17ec8b28e5d11979cb35 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 11 Jan 2006 18:14:55 +0000 Subject: r12851: Fix some typos (This used to be commit 61ae77beecd573809d917dd86d1fac6cc40e967d) --- source4/dsdb/samdb/ldb_modules/kludge_acl.c | 2 +- source4/dsdb/samdb/ldb_modules/password_hash.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/dsdb') 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"); -- cgit