]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:dsdb:tests: Use control that was (presumably) intended
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 2 Aug 2023 21:38:15 +0000 (09:38 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:38 +0000 (04:39 +0000)
Otherwise ‘control4’ goes unused.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/tests/python/dirsync.py

index ca0947e2d21bec7680742bf7e3b5388fcbee71ee..b2f4eb27ae8331c69c95416f67ea2783fea670a6 100755 (executable)
@@ -452,7 +452,7 @@ class SimpleDirsyncTests(DirsyncBaseTests):
         control4 = str(":".join(ctl))
         res = self.ldb_admin.search(self.base_dn,
                                     expression="(&(objectClass=organizationalUnit)(!(isDeleted=*)))",
-                                    controls=[control3])
+                                    controls=[control4])
 
         self.assertTrue(res[0].get("parentGUID") is not None)
         self.assertTrue(res[0].get("name") is not None)