summaryrefslogtreecommitdiff
path: root/source4/dsdb/common/dsdb_dn.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-02 08:14:52 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-02 08:16:57 +1100
commit00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a (patch)
tree3c57915f41f31733c0d7a7d05343f3ac410a8818 /source4/dsdb/common/dsdb_dn.h
parentcced56736431094db14d07cfe04fd7606541c339 (diff)
downloadsamba-00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a.tar.gz
samba-00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a.tar.bz2
samba-00b39c70f57882a453a8d2e6b0f1f37fd39a2d2a.zip
s4-dsdb: switched to using RMD_FLAGS instead of DELETED in extended DNs
This allows for more flags in the future
Diffstat (limited to 'source4/dsdb/common/dsdb_dn.h')
-rw-r--r--source4/dsdb/common/dsdb_dn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dsdb/common/dsdb_dn.h b/source4/dsdb/common/dsdb_dn.h
index 53e10535c8..b713bdd27b 100644
--- a/source4/dsdb/common/dsdb_dn.h
+++ b/source4/dsdb/common/dsdb_dn.h
@@ -15,3 +15,8 @@ struct dsdb_dn {
#define DSDB_SYNTAX_BINARY_DN "1.2.840.113556.1.4.903"
#define DSDB_SYNTAX_STRING_DN "1.2.840.113556.1.4.904"
#define DSDB_SYNTAX_OR_NAME "1.2.840.113556.1.4.1221"
+
+
+/* RMD_FLAGS component in a DN */
+#define DSDB_RMD_FLAG_DELETED 1
+#define DSDB_RMD_FLAG_INVISIBLE 2