mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
netcmd: user: readpasswords: move common.py to readpasswords
it only contains code relating to the getpassword module 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
6319df10b7
commit
24c567610a
@ -21,15 +21,6 @@ from samba.netcmd import SuperCommand
|
||||
|
||||
from .add import cmd_user_add
|
||||
from .add_unix_attrs import cmd_user_add_unix_attrs
|
||||
from .common import (
|
||||
GetPasswordCommand,
|
||||
disabled_virtual_attributes,
|
||||
decrypt_samba_gpg_help,
|
||||
get_crypt_value,
|
||||
gpg_decrypt,
|
||||
virtual_attributes,
|
||||
virtual_attributes_help
|
||||
)
|
||||
from .delete import cmd_user_delete
|
||||
from .disable import cmd_user_disable
|
||||
from .edit import cmd_user_edit
|
||||
|
@ -35,7 +35,7 @@ from samba.ndr import ndr_unpack
|
||||
from samba.common import get_bytes
|
||||
from samba.netcmd import CommandError, Option
|
||||
|
||||
from ..common import (
|
||||
from .common import (
|
||||
GetPasswordCommand,
|
||||
gpg_decrypt,
|
||||
decrypt_samba_gpg_help,
|
||||
|
@ -25,7 +25,7 @@ from samba.auth import system_session
|
||||
from samba.netcmd import Option, common
|
||||
from samba.samdb import SamDB
|
||||
|
||||
from ..common import GetPasswordCommand
|
||||
from .common import GetPasswordCommand
|
||||
|
||||
|
||||
class cmd_user_show(GetPasswordCommand):
|
||||
|
Loading…
x
Reference in New Issue
Block a user