aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libds/common/flags.h1
-rw-r--r--source4/dsdb/pydsdb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libds/common/flags.h b/libds/common/flags.h
index 88b93cb0a3c..d431bd54d90 100644
--- a/libds/common/flags.h
+++ b/libds/common/flags.h
@@ -190,6 +190,7 @@
#define DS_DOMAIN_FUNCTION_2008_R2 4
#define DS_DOMAIN_FUNCTION_2012 5
#define DS_DOMAIN_FUNCTION_2012_R2 6
+#define DS_DOMAIN_FUNCTION_2016 7
/* sa->systemFlags on attributes */
#define DS_FLAG_ATTR_NOT_REPLICATED 0x00000001
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c
index 4d811b009ad..8cf3ef5e4f6 100644
--- a/source4/dsdb/pydsdb.c
+++ b/source4/dsdb/pydsdb.c
@@ -1466,6 +1466,7 @@ void initdsdb(void)
ADD_DSDB_FLAG(DS_DOMAIN_FUNCTION_2008_R2);
ADD_DSDB_FLAG(DS_DOMAIN_FUNCTION_2012);
ADD_DSDB_FLAG(DS_DOMAIN_FUNCTION_2012_R2);
+ ADD_DSDB_FLAG(DS_DOMAIN_FUNCTION_2016);
/* nc replica flags */
ADD_DSDB_FLAG(INSTANCE_TYPE_IS_NC_HEAD);