summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/samdb.h
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-05-30 10:43:27 -0700
committerMatthieu Patou <mat@matws.net>2012-06-22 23:22:04 -0700
commit6f3a8b41f5b43c35263a401b2bddbe4e49812b85 (patch)
treebd0da53909e07e60f2592c028cbacb28029b1320 /source4/dsdb/samdb/samdb.h
parent9f1213d954c72a46ac1f30e936e4004b1ed9ff76 (diff)
downloadsamba-6f3a8b41f5b43c35263a401b2bddbe4e49812b85.tar.gz
samba-6f3a8b41f5b43c35263a401b2bddbe4e49812b85.tar.bz2
samba-6f3a8b41f5b43c35263a401b2bddbe4e49812b85.zip
s4-dsdb: Add/Update SCHEMA_SEQ_NUM key in the metadata.tdb after schemaUpdateNow
The idea is to signal to other process accessing the database that the schema was forced to be reloaded and so they should reload as well.
Diffstat (limited to 'source4/dsdb/samdb/samdb.h')
-rw-r--r--source4/dsdb/samdb/samdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h
index 73da3e20cf..3e2f4a2e79 100644
--- a/source4/dsdb/samdb/samdb.h
+++ b/source4/dsdb/samdb/samdb.h
@@ -218,4 +218,6 @@ struct dsdb_fsmo_extended_op {
};
#define DSDB_ACL_CHECKS_DIRSYNC_FLAG 0x1
+
+#define DSDB_METADATA_SCHEMA_SEQ_NUM "SCHEMA_SEQ_NUM"
#endif /* __SAMDB_H__ */