1
0
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:
Rob van der Linde 2023-08-01 13:19:51 +12:00 committed by Andrew Bartlett
parent 6319df10b7
commit 24c567610a
4 changed files with 2 additions and 11 deletions

View File

@ -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

View File

@ -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,

View File

@ -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):