mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
netcmd: models: enums and constants also brought forward
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
05f90fe1e4
commit
d046f71878
@ -22,10 +22,10 @@
|
||||
|
||||
import samba.getopt as options
|
||||
from samba.netcmd import Command, CommandError, Option, SuperCommand
|
||||
from samba.netcmd.domain.models import AuthenticationPolicy,\
|
||||
AuthenticationSilo, Group
|
||||
from samba.netcmd.domain.models.auth_policy import MIN_TGT_LIFETIME,\
|
||||
MAX_TGT_LIFETIME, StrongNTLMPolicy
|
||||
from samba.netcmd.domain.models import (AuthenticationPolicy,
|
||||
AuthenticationSilo, Group,
|
||||
MAX_TGT_LIFETIME, MIN_TGT_LIFETIME,
|
||||
StrongNTLMPolicy)
|
||||
from samba.netcmd.domain.models.exceptions import ModelError
|
||||
from samba.netcmd.validators import Range
|
||||
|
||||
|
@ -20,7 +20,8 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from .auth_policy import AuthenticationPolicy
|
||||
from .auth_policy import (AuthenticationPolicy, StrongNTLMPolicy,
|
||||
MIN_TGT_LIFETIME, MAX_TGT_LIFETIME)
|
||||
from .auth_silo import AuthenticationSilo
|
||||
from .claim_type import ClaimType
|
||||
from .group import Group
|
||||
|
@ -27,8 +27,8 @@ from xml.etree import ElementTree
|
||||
from ldb import FLAG_MOD_ADD, MessageElement, SCOPE_ONELEVEL
|
||||
from samba.dcerpc import security
|
||||
from samba.dcerpc.misc import GUID
|
||||
from samba.netcmd.domain.models import Group, User, fields
|
||||
from samba.netcmd.domain.models.auth_policy import StrongNTLMPolicy
|
||||
from samba.netcmd.domain.models import (Group, Site, User, StrongNTLMPolicy,
|
||||
fields)
|
||||
from samba.ndr import ndr_pack, ndr_unpack
|
||||
|
||||
from .base import SambaToolCmdTest
|
||||
|
Loading…
x
Reference in New Issue
Block a user