summaryrefslogtreecommitdiff
path: root/python/samba/schema.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-11-20 17:10:25 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-12-14 08:20:17 +0100
commit4f20416b383f11d6f7d30616696a5fdf5b6057a3 (patch)
tree15f636162aef49fa4ea3ab1095cc2be6d35cf85c /python/samba/schema.py
parent1daba6f25541dab6f3d888431d00eb61544382d8 (diff)
downloadsamba-4f20416b383f11d6f7d30616696a5fdf5b6057a3.tar.gz
provision: Use the official MS 2008R2 schema by default
This fixes us to have the official adminDescription etc. While both schema were provided by Microsoft this is a better quality one, but still under the same licence. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'python/samba/schema.py')
-rw-r--r--python/samba/schema.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/samba/schema.py b/python/samba/schema.py
index bc3ae057484..67ec357a285 100644
--- a/python/samba/schema.py
+++ b/python/samba/schema.py
@@ -64,8 +64,11 @@ class Schema(object):
# the schema files (and corresponding object version) that we know about
base_schemas = {
- "2008_R2" : ("MS-AD_Schema_2K8_R2_Attributes.txt",
- "MS-AD_Schema_2K8_R2_Classes.txt",
+ "2008_R2_old" : ("MS-AD_Schema_2K8_R2_Attributes.txt",
+ "MS-AD_Schema_2K8_R2_Classes.txt",
+ 47),
+ "2008_R2" : ("Attributes_for_AD_DS__Windows_Server_2008_R2.ldf",
+ "Classes_for_AD_DS__Windows_Server_2008_R2.ldf",
47),
"2012" : ("AD_DS_Attributes__Windows_Server_2012.ldf",
"AD_DS_Classes__Windows_Server_2012.ldf",