mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
s4:KCC: Use dsdb.DS_DOMAIN_FUNCTION_2008 constant for DS-Behavior comparisons
DS_BEHAVIOR_WIN2008 was used so far which is a leftover from previous KCC implementation in "C" Change-Id: Id9b6551073c0b17cc27e086faa315b01305f39a5 Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
@ -502,7 +502,7 @@ class DirectoryServiceAgent(object):
|
||||
"""Is dsa at minimum windows level greater than or equal to (version)
|
||||
|
||||
:param version: Windows version to test against
|
||||
(e.g. DS_BEHAVIOR_WIN2008)
|
||||
(e.g. DS_DOMAIN_FUNCTION_2008)
|
||||
"""
|
||||
if self.dsa_behavior >= version:
|
||||
return True
|
||||
|
Reference in New Issue
Block a user