summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba/ldif_handlers.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-18 20:30:27 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-18 20:30:27 +1000
commitbb80a19714048def04b9d94d4e9f125a20a95822 (patch)
tree05a2448ca233f430792bd7cb9105672753981c48 /source4/lib/ldb-samba/ldif_handlers.h
parent1dc5e75218e57fc410773161ab6431db33cd4b27 (diff)
downloadsamba-bb80a19714048def04b9d94d4e9f125a20a95822.tar.gz
samba-bb80a19714048def04b9d94d4e9f125a20a95822.tar.bz2
samba-bb80a19714048def04b9d94d4e9f125a20a95822.zip
Note the ldb syntax for attribute syntaxes in the table.
This includes additional Samba-specific syntaxes made available from the ldif_handlers code. This commit also changes some table to use #defines, to ensure consistancy in other parts of the code. Andrew Bartlett (This used to be commit e26a5efd9a580ed3728e1f449e367b1cd4a73b5f)
Diffstat (limited to 'source4/lib/ldb-samba/ldif_handlers.h')
-rw-r--r--source4/lib/ldb-samba/ldif_handlers.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/lib/ldb-samba/ldif_handlers.h b/source4/lib/ldb-samba/ldif_handlers.h
new file mode 100644
index 0000000000..e37c4166c8
--- /dev/null
+++ b/source4/lib/ldb-samba/ldif_handlers.h
@@ -0,0 +1,13 @@
+#ifndef __LIB_LDB_SAMBA_LDIF_HANDLERS_H__
+#define __LIB_LDB_SAMBA_LDIF_HANDLERS_H__
+
+#define LDB_SYNTAX_SAMBA_SID "LDB_SYNTAX_SAMBA_SID"
+#define LDB_SYNTAX_SAMBA_SECURITY_DESCRIPTOR "1.2.840.113556.1.4.907"
+
+#include "lib/ldb-samba/ldif_handlers_proto.h"
+
+#undef _PRINTF_ATTRIBUTE
+#define _PRINTF_ATTRIBUTE(a1, a2)
+
+#endif /* __LIB_LDB_SAMBA_LDIF_HANDLERS_H__ */
+