From: Rob van der Linde Date: Wed, 28 Feb 2024 04:00:24 +0000 (+1300) Subject: tests: samdb: Make use of the domain_sid property X-Git-Tag: tdb-1.4.11~1423 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40e0cb2ccaa659d3ee109949044fe006e7a7d2bb;p=thirdparty%2Fsamba.git tests: samdb: Make use of the domain_sid property Signed-off-by: Rob van der Linde Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/samba_tool/user_getpassword_gmsa.py b/python/samba/tests/samba_tool/user_getpassword_gmsa.py index 552d18f3889..79831f1fed0 100644 --- a/python/samba/tests/samba_tool/user_getpassword_gmsa.py +++ b/python/samba/tests/samba_tool/user_getpassword_gmsa.py @@ -71,7 +71,7 @@ class GMSAPasswordTest(BlackboxTestCase): connecting_user_sid = cls.samdb.connecting_user_sid - domain_sid = security.dom_sid(cls.samdb.get_domain_sid()) + domain_sid = security.dom_sid(cls.samdb.domain_sid) allow_sddl = f"O:SYD:(A;;RP;;;{connecting_user_sid})" allow_sd = ndr_pack(security.descriptor.from_sddl(allow_sddl, domain_sid))