aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2017-08-15 15:17:34 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-12-14 08:20:14 +0100
commit07f094f69fa91f7f363ca892cd2a640a76c90a94 (patch)
tree3e75bd2790df0cabff0269721aac95ac411b667f
parent4ea7aa9265199e515d8f08ef849b69cfa3ee1955 (diff)
downloadsamba-07f094f69fa91f7f363ca892cd2a640a76c90a94.tar.gz
samba-07f094f69fa91f7f363ca892cd2a640a76c90a94.tar.xz
samba-07f094f69fa91f7f363ca892cd2a640a76c90a94.zip
flags.h: Introduce the 2016 function level constant
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-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);