summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-08-09 14:41:20 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-09 11:56:23 +0200
commit4ede333f468b36fb7435c9de1216da3b66bf0490 (patch)
tree2fb641d6df7f893ca29432fc89fe732d673a1450 /source4/dsdb/schema/schema.h
parent2ba18d89eb066cf52d8bbd18a28e494bb4247d9c (diff)
downloadsamba-4ede333f468b36fb7435c9de1216da3b66bf0490.tar.gz
s4-dsdb: add auto-normalisation of attributes
this auto-normalises some attributes when they are added/modified. The list that we auto-normalise is currently: Boolean INT32 INTEGER UTC_TIME This fixes a problem with groupType being stored in an unnormalised form Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/schema/schema.h')
-rw-r--r--source4/dsdb/schema/schema.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h
index 13cc31ca879..58cf82b2973 100644
--- a/source4/dsdb/schema/schema.h
+++ b/source4/dsdb/schema/schema.h
@@ -73,6 +73,7 @@ struct dsdb_syntax {
WERROR (*validate_ldb)(const struct dsdb_syntax_ctx *ctx,
const struct dsdb_attribute *attr,
const struct ldb_message_element *in);
+ bool auto_normalise;
};
struct dsdb_attribute {