]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python: Remove unused ‘more_flags’ parameter
authorJennifer Sutton <jennifersutton@catalyst.net.nz>
Thu, 29 Aug 2024 01:32:25 +0000 (13:32 +1200)
committerJo Sutton <jsutton@samba.org>
Mon, 26 May 2025 02:41:36 +0000 (02:41 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15852

Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/drs_utils.py

index 3b3a42df1786d8bdc4cc774129b96b2c148c53d9..8fac14e78af3289647f4fb6df1e2d24147617a1c 100644 (file)
@@ -255,13 +255,13 @@ class drs_Replicate(object):
 
     def replicate(self, dn, source_dsa_invocation_id, destination_dsa_guid,
                   schema=False, exop=drsuapi.DRSUAPI_EXOP_NONE, rodc=False,
-                  replica_flags=None, full_sync=True, sync_forced=False, more_flags=0):
+                  replica_flags=None, full_sync=True, sync_forced=False):
         """replicate a single DN"""
 
         # setup for a GetNCChanges call
         if self.supports_ext & DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10:
             req = drsuapi.DsGetNCChangesRequest10()
-            req.more_flags = (more_flags | self.more_flags)
+            req.more_flags = self.more_flags
             req_level = 10
         else:
             req_level = 8