mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
netcmd: user: readpasswords: turn getpassword.py into readpasswords 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:
committed by
Andrew Bartlett
parent
10aa17a403
commit
fab69e47ef
@ -35,10 +35,10 @@ from .disable import cmd_user_disable
|
|||||||
from .edit import cmd_user_edit
|
from .edit import cmd_user_edit
|
||||||
from .enable import cmd_user_enable
|
from .enable import cmd_user_enable
|
||||||
from .getgroups import cmd_user_getgroups
|
from .getgroups import cmd_user_getgroups
|
||||||
from .getpassword import cmd_user_getpassword, cmd_user_syncpasswords
|
|
||||||
from .list import cmd_user_list
|
from .list import cmd_user_list
|
||||||
from .move import cmd_user_move
|
from .move import cmd_user_move
|
||||||
from .password import cmd_user_password
|
from .password import cmd_user_password
|
||||||
|
from .readpasswords import cmd_user_getpassword, cmd_user_syncpasswords
|
||||||
from .rename import cmd_user_rename
|
from .rename import cmd_user_rename
|
||||||
from .sensitive import cmd_user_sensitive
|
from .sensitive import cmd_user_sensitive
|
||||||
from .setexpiry import cmd_user_setexpiry
|
from .setexpiry import cmd_user_setexpiry
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# user management
|
# user management
|
||||||
#
|
#
|
||||||
# user syncpasswords command
|
# user readpasswords commands
|
||||||
#
|
#
|
||||||
# Copyright Jelmer Vernooij 2010 <jelmer@samba.org>
|
# Copyright Jelmer Vernooij 2010 <jelmer@samba.org>
|
||||||
# Copyright Theresa Halloran 2011 <theresahalloran@gmail.com>
|
# Copyright Theresa Halloran 2011 <theresahalloran@gmail.com>
|
||||||
@ -35,7 +35,7 @@ from samba.ndr import ndr_unpack
|
|||||||
from samba.common import get_bytes
|
from samba.common import get_bytes
|
||||||
from samba.netcmd import CommandError, Option
|
from samba.netcmd import CommandError, Option
|
||||||
|
|
||||||
from .common import (
|
from ..common import (
|
||||||
GetPasswordCommand,
|
GetPasswordCommand,
|
||||||
gpg_decrypt,
|
gpg_decrypt,
|
||||||
decrypt_samba_gpg_help,
|
decrypt_samba_gpg_help,
|
Reference in New Issue
Block a user