diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-08-09 14:41:20 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-09 11:56:23 +0200 |
commit | 4ede333f468b36fb7435c9de1216da3b66bf0490 (patch) | |
tree | 2fb641d6df7f893ca29432fc89fe732d673a1450 /source4/dsdb/schema/schema.h | |
parent | 2ba18d89eb066cf52d8bbd18a28e494bb4247d9c (diff) | |
download | samba-4ede333f468b36fb7435c9de1216da3b66bf0490.tar.gz samba-4ede333f468b36fb7435c9de1216da3b66bf0490.tar.bz2 samba-4ede333f468b36fb7435c9de1216da3b66bf0490.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index 13cc31ca87..58cf82b297 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 { |