summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-09-29 18:57:01 +0200
committerStefan Metzmacher <metze@samba.org>2010-01-13 16:03:54 +0100
commitb20707c11af4834693947265873e1b96d316b4e1 (patch)
tree308f19e0da48477b0364a32248fcfd6788ebe8bc /source4/dsdb/schema/schema.h
parent61589085c4207ab730654d9f881a2615e483a167 (diff)
downloadsamba-b20707c11af4834693947265873e1b96d316b4e1.tar.gz
samba-b20707c11af4834693947265873e1b96d316b4e1.tar.bz2
samba-b20707c11af4834693947265873e1b96d316b4e1.zip
s4:dsdb/schema: add inftrastructure for dsdb_validate_ldb()
metze
Diffstat (limited to 'source4/dsdb/schema/schema.h')
-rw-r--r--source4/dsdb/schema/schema.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h
index 1a40c45b21..fb1bd3cf91 100644
--- a/source4/dsdb/schema/schema.h
+++ b/source4/dsdb/schema/schema.h
@@ -51,6 +51,10 @@ struct dsdb_syntax {
const struct ldb_message_element *in,
TALLOC_CTX *mem_ctx,
struct drsuapi_DsReplicaAttribute *out);
+ WERROR (*validate_ldb)(struct ldb_context *ldb,
+ const struct dsdb_schema *schema,
+ const struct dsdb_attribute *attr,
+ const struct ldb_message_element *in);
};
struct dsdb_attribute {