diff options
Diffstat (limited to 'python')
| -rwxr-xr-x | python/samba/tests/krb5/kpasswd_tests.py | 4 | ||||
| -rw-r--r-- | python/samba/tests/krb5/raw_testcase.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/python/samba/tests/krb5/kpasswd_tests.py b/python/samba/tests/krb5/kpasswd_tests.py index 0f1fe656f49..6f0b36a25f6 100755 --- a/python/samba/tests/krb5/kpasswd_tests.py +++ b/python/samba/tests/krb5/kpasswd_tests.py @@ -90,10 +90,6 @@ class KpasswdTests(KDCBaseTest): return creds - def get_kpasswd_sname(self): - return self.PrincipalName_create(name_type=NT_PRINCIPAL, - names=['kadmin', 'changepw']) - def get_ticket_lifetime(self, ticket): enc_part = ticket.ticket_private diff --git a/python/samba/tests/krb5/raw_testcase.py b/python/samba/tests/krb5/raw_testcase.py index ef9498cd251..75ba6d44d48 100644 --- a/python/samba/tests/krb5/raw_testcase.py +++ b/python/samba/tests/krb5/raw_testcase.py @@ -6054,6 +6054,10 @@ class RawKerberosTest(TestCase): return krbtgt_sname + def get_kpasswd_sname(self): + return self.PrincipalName_create(name_type=NT_PRINCIPAL, + names=['kadmin', 'changepw']) + def add_requester_sid(self, pac, sid): pac_buffers = pac.buffers |
