From bd910952ba2256ff54c0e48a6feda285b9fbb8a5 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sat, 5 Jun 2010 19:09:51 +0200 Subject: s4:remove the "validate_update" LDB module - the task is now handled by the far more complete "objectclass_attrs" LDB module --- source4/dsdb/schema/schema_syntax.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source4/dsdb/schema/schema_syntax.c') 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); -} -- cgit