]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python:tests: Pass correct arguments to set_named_ccache()
authorJo Sutton <josutton@catalyst.net.nz>
Wed, 17 Jan 2024 21:55:55 +0000 (10:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Feb 2024 02:41:36 +0000 (02:41 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/samba_tool/user_get_kerberos_ticket.py

index 3ec9e3aff4a6e8b706c879391b0013c50d6dd883..5fc629355b3631b58f981a574ad4f86fd02aff6b 100644 (file)
@@ -136,7 +136,7 @@ class GetKerberosTicketTest(BlackboxTestCase):
         output_ccache = self.get_ticket(self.gmsa_username)
         creds = self.insta_creds(template=self.env_creds)
         creds.set_kerberos_state(MUST_USE_KERBEROS)
-        creds.set_named_ccache(self.lp, output_ccache)
+        creds.set_named_ccache(output_ccache, credentials.SPECIFIED, self.lp)
         db = connect_samdb(PW_CHECK_URL, credentials=creds, lp=self.lp)
         msg = db.search(base="", scope=SCOPE_BASE, attrs=["tokenGroups"])[0]
         connecting_user_sid = str(ndr_unpack(security.dom_sid, msg["tokenGroups"][0]))