mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
netcmd: user: readpasswords: move show command to readpasswords
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
fab69e47ef
commit
6319df10b7
@ -38,13 +38,13 @@ from .getgroups import cmd_user_getgroups
|
||||
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 .readpasswords import (cmd_user_getpassword, cmd_user_show,
|
||||
cmd_user_syncpasswords)
|
||||
from .rename import cmd_user_rename
|
||||
from .sensitive import cmd_user_sensitive
|
||||
from .setexpiry import cmd_user_setexpiry
|
||||
from .setpassword import cmd_user_setpassword
|
||||
from .setprimarygroup import cmd_user_setprimarygroup
|
||||
from .show import cmd_user_show
|
||||
from .unlock import cmd_user_unlock
|
||||
|
||||
|
||||
|
@ -41,6 +41,7 @@ from ..common import (
|
||||
decrypt_samba_gpg_help,
|
||||
virtual_attributes_help
|
||||
)
|
||||
from .show import cmd_user_show
|
||||
|
||||
|
||||
class cmd_user_getpassword(GetPasswordCommand):
|
||||
|
@ -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…
Reference in New Issue
Block a user