diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-12-29 10:35:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:30:24 -0500 |
commit | d97302d539e7747da28984880769d6cbf8b7357c (patch) | |
tree | 59cc132a8dc01653caa4d3a9cca0fa7866ef2dad /source4/dsdb/schema/schema.h | |
parent | a2f568f0008238bc76f7b8d32f21f75b239a4925 (diff) | |
download | samba-d97302d539e7747da28984880769d6cbf8b7357c.tar.gz samba-d97302d539e7747da28984880769d6cbf8b7357c.tar.bz2 samba-d97302d539e7747da28984880769d6cbf8b7357c.zip |
r20405: add an array with attribute syntexes
metze
(This used to be commit 1a21eb700003db1d7853c9be330b2583db9bff03)
Diffstat (limited to 'source4/dsdb/schema/schema.h')
-rw-r--r-- | source4/dsdb/schema/schema.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index 4911407a21..051f531a52 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -23,6 +23,14 @@ #ifndef _DSDB_SCHEMA_H #define _DSDB_SCHEMA_H +struct dsdb_syntax { + const char *name; + const char *ldap_oid; + uint32_t oMSyntax; + struct ldb_val oMObjectClass; + const char *attributeSyntax_oid; +}; + struct dsdb_attribute { struct dsdb_attribute *prev, *next; @@ -60,6 +68,9 @@ struct dsdb_attribute { BOOL isEphemeral; BOOL isDefunct; BOOL systemOnly; + + /* internal stuff */ + const struct dsdb_syntax *syntax; }; struct dsdb_class { |