diff options
-rw-r--r-- | src/providers/ldap/sdap.c | 1 | ||||
-rw-r--r-- | src/providers/ldap/sdap.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c index ddcf199b6..900136cfc 100644 --- a/src/providers/ldap/sdap.c +++ b/src/providers/ldap/sdap.c @@ -1016,6 +1016,7 @@ int sdap_get_server_opts_from_rootdse(TALLOC_CTX *memctx, case DS_BEHAVIOR_WIN2008: case DS_BEHAVIOR_WIN2008R2: case DS_BEHAVIOR_WIN2012: + case DS_BEHAVIOR_WIN2012R2: opts->dc_functional_level = dc_level; DEBUG(SSSDBG_CONF_SETTINGS, ("Setting AD compatibility level to [%d]\n", diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index f3f13e9c7..ad6bdb5c9 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -375,7 +375,8 @@ enum dc_functional_level { DS_BEHAVIOR_WIN2003 = 2, DS_BEHAVIOR_WIN2008 = 3, DS_BEHAVIOR_WIN2008R2 = 4, - DS_BEHAVIOR_WIN2012 = 5 + DS_BEHAVIOR_WIN2012 = 5, + DS_BEHAVIOR_WIN2012R2 = 6 }; struct sdap_domain { |