summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/samdb.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-18 17:13:30 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-18 09:32:53 +0200
commite4001a78c1d0b286b37e19c733cf1bbc18166818 (patch)
treebb2099eaa6998935660d83ec2219e891bc9b411a /source4/dsdb/samdb/samdb.h
parent5630e25a35ea95ca848281933a5a3a96306986a4 (diff)
downloadsamba-e4001a78c1d0b286b37e19c733cf1bbc18166818.tar.gz
samba-e4001a78c1d0b286b37e19c733cf1bbc18166818.tar.bz2
samba-e4001a78c1d0b286b37e19c733cf1bbc18166818.zip
dsdb: Allocate new OID to allow updates of a read-only replica
Normally this would be a very bad idea, but the specific case of fixing the instanceType is the only case where this makes sense. Andrew Bartlett
Diffstat (limited to 'source4/dsdb/samdb/samdb.h')
-rw-r--r--source4/dsdb/samdb/samdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/samdb.h b/source4/dsdb/samdb/samdb.h
index 5422218059..c4cb3bdb48 100644
--- a/source4/dsdb/samdb/samdb.h
+++ b/source4/dsdb/samdb/samdb.h
@@ -122,6 +122,9 @@ struct dsdb_control_password_change {
/* passed when we want special behaviour for dbcheck */
#define DSDB_CONTROL_DBCHECK "1.3.6.1.4.1.7165.4.3.19"
+/* passed when dbcheck wants to modify a read only replica (very special case) */
+#define DSDB_CONTROL_DBCHECK_MODIFY_RO_REPLICA "1.3.6.1.4.1.7165.4.3.19.1"
+
/* passed when importing plain text password on upgrades */
#define DSDB_CONTROL_PASSWORD_BYPASS_LAST_SET_OID "1.3.6.1.4.1.7165.4.3.20"