summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-05 19:09:51 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-07 14:47:23 +0200
commitbd910952ba2256ff54c0e48a6feda285b9fbb8a5 (patch)
tree395854f12405e3d4d96a0350a73b0725f78576d8 /source4/dsdb/schema
parent2586cbaadcdf9baf77be5ec5b612cff324ab19a8 (diff)
downloadsamba-bd910952ba2256ff54c0e48a6feda285b9fbb8a5.tar.gz
samba-bd910952ba2256ff54c0e48a6feda285b9fbb8a5.tar.bz2
samba-bd910952ba2256ff54c0e48a6feda285b9fbb8a5.zip
s4:remove the "validate_update" LDB module - the task is now handled by the far more complete "objectclass_attrs" LDB module
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema_syntax.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index e3ccab0904..51c1b29f35 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -2554,16 +2554,3 @@ WERROR dsdb_attribute_ldb_to_drsuapi(struct ldb_context *ldb,
return sa->syntax->ldb_to_drsuapi(ldb, schema, sa, in, mem_ctx, out);
}
-WERROR dsdb_attribute_validate_ldb(struct ldb_context *ldb,
- const struct dsdb_schema *schema,
- const struct ldb_message_element *in)
-{
- const struct dsdb_attribute *sa;
-
- sa = dsdb_attribute_by_lDAPDisplayName(schema, in->name);
- if (!sa) {
- return WERR_DS_ATTRIBUTE_TYPE_UNDEFINED;
- }
-
- return sa->syntax->validate_ldb(ldb, schema, sa, in);
-}