summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/samdb.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-11-16 18:46:28 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-11-17 10:38:02 +1100
commit07953142a4755354a8e76fa217c6cbf1b5dbcf30 (patch)
treeba9ce648b532d84b856782d2a29c7e97c4a565be /source4/dsdb/samdb/samdb.h
parent0238147a855c65ea0a81b0a945ae8ffd9b260c75 (diff)
downloadsamba-07953142a4755354a8e76fa217c6cbf1b5dbcf30.tar.gz
samba-07953142a4755354a8e76fa217c6cbf1b5dbcf30.tar.bz2
samba-07953142a4755354a8e76fa217c6cbf1b5dbcf30.zip
s4:dsdb Rework samdb code to use 'storage format' DNs for defaultObjectCategory
It is important to always ensure that this attribute has an extended DN if the rest of the database stores things that way. The knowlege of what format the DN is stored on disk with is passed around in an LDB opaque. Andrew Bartlett
Diffstat (limited to 'source4/dsdb/samdb/samdb.h')
-rw-r--r--source4/dsdb/samdb/samdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h
index 45ab716741..33f4fd3831 100644
--- a/source4/dsdb/samdb/samdb.h
+++ b/source4/dsdb/samdb/samdb.h
@@ -135,4 +135,9 @@ struct dsdb_openldap_dereference_result_control {
#define DSDB_PARTITION_DN "@PARTITION"
#define DSDB_PARTITION_ATTR "partition"
+#define DSDB_EXTENDED_DN_STORE_FORMAT_OPAQUE_NAME "dsdb_extended_dn_store_format"
+struct dsdb_extended_dn_store_format {
+ bool store_extended_dn_in_ldb;
+};
+
#endif /* __SAMDB_H__ */