]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
schema_upgrade: add support for ntdsschemamodrdn and ntdsschemadelete
authorStefan Metzmacher <metze@samba.org>
Thu, 23 Feb 2023 14:03:14 +0000 (15:03 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Mar 2023 22:10:32 +0000 (22:10 +0000)
They are used in newer schema uprades from Microsoft.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/domain.py

index c386b0b8112a91b0a03c834601ba27ec4022af85..0b13a1a5c2045b183b1f19676791b29041d969d1 100644 (file)
@@ -4193,6 +4193,10 @@ class cmd_domain_schema_upgrade(Command):
                                             ': add')
                 line = line.lower().replace(': ntdsschemamodify',
                                             ': modify')
+                line = line.lower().replace(': ntdsschemamodrdn',
+                                            ': modrdn')
+                line = line.lower().replace(': ntdsschemadelete',
+                                            ': delete')
 
             if values[0].lower() in ['rdnattid', 'subclassof',
                                      'systemposssuperiors',