mirror of
https://github.com/samba-team/samba.git
synced 2025-07-14 12:59:07 +03:00
samba-tool: Fixed "user" command syntax
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
59caf70824
commit
dd3ebbffe8
@ -108,7 +108,7 @@ class cmd_user_add(Command):
|
||||
class cmd_user_delete(Command):
|
||||
"""Delete a user"""
|
||||
|
||||
synopsis = "%prog user delete <username>"
|
||||
synopsis = "%prog user delete <username> [options]"
|
||||
|
||||
takes_options = [
|
||||
Option("-H", "--URL", help="LDB URL for database or target server", type=str,
|
||||
@ -131,6 +131,7 @@ class cmd_user_delete(Command):
|
||||
print("Deleted user %s" % username)
|
||||
|
||||
|
||||
|
||||
class cmd_user_enable(Command):
|
||||
"""Enables a user"""
|
||||
|
||||
|
Reference in New Issue
Block a user