summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-11 18:14:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:53 -0500
commit0b3deb20defaedb0570c17ec8b28e5d11979cb35 (patch)
treee7f6537f10362a456fdb0b3ff1378bb844285350 /source4/dsdb/samdb/ldb_modules
parent4a8656fd65b4bd9a02bf15a0fc46b1e4de35e905 (diff)
downloadsamba-0b3deb20defaedb0570c17ec8b28e5d11979cb35.tar.gz
samba-0b3deb20defaedb0570c17ec8b28e5d11979cb35.tar.bz2
samba-0b3deb20defaedb0570c17ec8b28e5d11979cb35.zip
r12851: Fix some typos
(This used to be commit 61ae77beecd573809d917dd86d1fac6cc40e967d)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-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");