summaryrefslogtreecommitdiff
path: root/python/samba/netcmd/__init__.py
AgeCommit message (Expand)AuthorFilesLines
2025-08-20samba-tool: Command.message() can print multiple linesDouglas Bagnall1-2/+3
2025-08-20samba-tool: add verbose flag to @exception_to_command_errorDouglas Bagnall1-1/+19
2025-08-20samba-tool: add decorator to catch exception typesDouglas Bagnall1-0/+18
2025-02-08samba-tool: --version shortcircuits option evaluationDouglas Bagnall1-2/+5
2025-02-08samba-tool: all subcommands know --versionDouglas Bagnall1-2/+33
2025-02-08samba-tool: do not complain of no sub-command with '-V'Douglas Bagnall1-1/+2
2024-12-20samba-tool: no traceback for unauthenticated rootdse accessDouglas Bagnall1-0/+3
2024-03-04samba-tool: tidy up uncaught insufficient rights LdbErrorDouglas Bagnall1-1/+4
2024-03-01netcmd: properly show command name in show helpRob van der Linde1-1/+1
2024-03-01netcmd: add newline before epilog so there is a space betweenRob van der Linde1-1/+1
2024-03-01samba-tool: don't error if there are no sub-commandsDouglas Bagnall1-1/+1
2024-02-29samba-tool: with --json, error messages are in JSONDouglas Bagnall1-0/+13
2024-02-29samba-tool: instances remember whether --json was requestedDouglas Bagnall1-0/+8
2024-02-29samba-tool: add self.print_json_status() helperDouglas Bagnall1-0/+44
2024-02-29samba-tool: avoid mutable Command class valuesDouglas Bagnall1-2/+2
2023-11-01samba-tool: try to present diagnostics for SDDL errors.Douglas Bagnall1-0/+28
2023-10-24netcmd: auth policy: add OptionGroup classes for user, service and computer o...Rob van der Linde1-1/+1
2023-10-24python: netcmd: make use of HostOptions for claims and sites commandsRob van der Linde1-2/+2
2023-10-24python: getopt: subclass OptionParser to populate option_classRob van der Linde1-2/+2
2023-10-24python: netcmd: catch parent exception class OptParseError insteadRob van der Linde1-2/+2
2023-10-24python: getopt: rename SambaOption to OptionRob van der Linde1-2/+1
2023-10-24python: netcmd: remove redundant Option subclassRob van der Linde1-5/+2
2023-10-24python: netcmd: SUPPRESS_HELP constant has no effect hereRob van der Linde1-1/+1
2023-10-24python: getopt: move validators logic to parent classRob van der Linde1-17/+0
2023-10-24netcmd: don't turn exception into CommandError in run_validatorsRob van der Linde1-12/+10
2023-10-24netcmd: PEP8: minor whitespace fix, file did not pass PEP8Rob van der Linde1-1/+1
2023-10-24netcmd: move comment above class to docstringRob van der Linde1-3/+2
2023-10-24netcmd: correctly pass Samba option class to OptionParserRob van der Linde1-1/+3
2023-06-25netcmd: move method print_json to command base classRob van der Linde1-0/+11
2023-06-25netcmd: fix import sort/grouping as per python standardRob van der Linde1-4/+5
2023-06-25netcmd: move ldb_connect method to base classRob van der Linde1-0/+9
2023-06-25netcmd: PEP257 fix incorrect docstring quotesRob van der Linde1-1/+1
2023-06-25netcmd: add optparse validators and Range validatorRob van der Linde1-0/+28
2023-06-23python:samba:netcmd: Fix code spellingAndreas Schneider1-3/+3
2022-09-16samba-tool: no stack trace on missing ldb tdbDouglas Bagnall1-0/+4
2022-09-16samba-tool: write ERROR in red if colour is wantedDouglas Bagnall1-6/+15
2022-09-16samba-tool: --color=auto looks at stderr and stdoutDouglas Bagnall1-1/+3
2022-09-16samba-tool: save --color choice for subcommandsDouglas Bagnall1-0/+2
2022-09-16samba-tool: make --color a general optionDouglas Bagnall1-0/+10
2022-09-16samba-tool: simplify and clarify SuperCommand._run() a littleDouglas Bagnall1-2/+5
2022-09-08samba-tool: _resolve() can set outf, errfDouglas Bagnall1-6/+12
2022-09-08samba-tool: more conventional usage of parser.parse_argsDouglas Bagnall1-3/+2
2022-09-08samba-tool: separate ._run() from command resolutionDouglas Bagnall1-32/+55
2022-09-08samba-tool: do not crash on unimplemented .run()Douglas Bagnall1-2/+2
2022-09-06samba-tool: do not force a traceback on CommandErrorDouglas Bagnall1-1/+0
2022-09-06samba-tool: avoid traceback for NT_STATUS_NETWORK_UNREACHABLEDouglas Bagnall1-0/+3
2022-09-06samba-tool: avoid traceback for options errorsDouglas Bagnall1-2/+7
2022-09-06samba-tool: reduce repetitious jargon on credentials failureDouglas Bagnall1-2/+6
2022-09-06samba-tool: respect NO_COLOR env variable and --color optionsDouglas Bagnall1-16/+5
2022-05-10python: Remove unnecessary 'pass' statementsJoseph Sutton1-1/+0