1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +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:
Rob van der Linde
2023-08-01 13:05:28 +12:00
committed by Andrew Bartlett
parent 10aa17a403
commit fab69e47ef
2 changed files with 3 additions and 3 deletions

View File

@ -35,10 +35,10 @@ from .disable import cmd_user_disable
from .edit import cmd_user_edit
from .enable import cmd_user_enable
from .getgroups import cmd_user_getgroups
from .getpassword import cmd_user_getpassword, cmd_user_syncpasswords
from .list import cmd_user_list
from .move import cmd_user_move
from .password import cmd_user_password
from .readpasswords import cmd_user_getpassword, cmd_user_syncpasswords
from .rename import cmd_user_rename
from .sensitive import cmd_user_sensitive
from .setexpiry import cmd_user_setexpiry

View File

@ -1,6 +1,6 @@
# user management
#
# user syncpasswords command
# user readpasswords commands
#
# Copyright Jelmer Vernooij 2010 <jelmer@samba.org>
# 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.netcmd import CommandError, Option
from .common import (
from ..common import (
GetPasswordCommand,
gpg_decrypt,
decrypt_samba_gpg_help,