diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/providers/ldap/sdap.c | 6 | ||||
| -rw-r--r-- | src/providers/ldap/sdap.h | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c index 888cbb509..686f72666 100644 --- a/src/providers/ldap/sdap.c +++ b/src/providers/ldap/sdap.c @@ -1347,6 +1347,7 @@ int sdap_get_server_opts_from_rootdse(TALLOC_CTX *memctx, case DS_BEHAVIOR_WIN2008R2: case DS_BEHAVIOR_WIN2012: case DS_BEHAVIOR_WIN2012R2: + case DS_BEHAVIOR_WIN2016: opts->dc_functional_level = dc_level; DEBUG(SSSDBG_CONF_SETTINGS, "Setting AD compatibility level to [%d]\n", @@ -1354,8 +1355,9 @@ int sdap_get_server_opts_from_rootdse(TALLOC_CTX *memctx, break; default: DEBUG(SSSDBG_MINOR_FAILURE, - "Received invalid value for AD compatibility level. " - "Using the lowest-common compatibility level\n"); + "Received invalid value [%d] for AD compatibility level. " + "Using the lowest-common compatibility level\n", + dc_level); opts->dc_functional_level = DS_BEHAVIOR_WIN2003; } } else if (ret != ENOENT) { diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index 44b8cfb1c..10c8ff6e0 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -391,7 +391,8 @@ enum dc_functional_level { DS_BEHAVIOR_WIN2008 = 3, DS_BEHAVIOR_WIN2008R2 = 4, DS_BEHAVIOR_WIN2012 = 5, - DS_BEHAVIOR_WIN2012R2 = 6 + DS_BEHAVIOR_WIN2012R2 = 6, + DS_BEHAVIOR_WIN2016 = 7, }; struct sdap_domain { |
