diff --git a/python/samba/tests/samba_tool/user_get_kerberos_ticket.py b/python/samba/tests/samba_tool/user_get_kerberos_ticket.py index 5fc629355b3..dc31ea0ed80 100644 --- a/python/samba/tests/samba_tool/user_get_kerberos_ticket.py +++ b/python/samba/tests/samba_tool/user_get_kerberos_ticket.py @@ -30,12 +30,12 @@ os.environ["PYTHONUNBUFFERED"] = "1" from ldb import SCOPE_BASE from samba import credentials -from samba.credentials import Credentials, MUST_USE_KERBEROS -from samba.dcerpc import security, samr +from samba.credentials import MUST_USE_KERBEROS +from samba.dcerpc import security from samba.dsdb import UF_WORKSTATION_TRUST_ACCOUNT, UF_NORMAL_ACCOUNT from samba.netcmd.domain.models import User from samba.ndr import ndr_pack, ndr_unpack -from samba.tests import connect_samdb, connect_samdb_env, delete_force +from samba.tests import connect_samdb, delete_force from samba.tests import BlackboxTestCase, BlackboxProcessError diff --git a/python/samba/tests/samba_tool/user_getpassword_gmsa.py b/python/samba/tests/samba_tool/user_getpassword_gmsa.py index 98444563362..acd8907e992 100644 --- a/python/samba/tests/samba_tool/user_getpassword_gmsa.py +++ b/python/samba/tests/samba_tool/user_getpassword_gmsa.py @@ -28,12 +28,12 @@ os.environ["PYTHONUNBUFFERED"] = "1" from ldb import SCOPE_BASE -from samba.credentials import Credentials, MUST_USE_KERBEROS +from samba.credentials import MUST_USE_KERBEROS from samba.dcerpc import security, samr from samba.dsdb import UF_WORKSTATION_TRUST_ACCOUNT from samba.netcmd.domain.models import User from samba.ndr import ndr_pack, ndr_unpack -from samba.tests import connect_samdb, connect_samdb_env, delete_force +from samba.tests import connect_samdb, delete_force from samba.tests import BlackboxTestCase