summaryrefslogtreecommitdiff
path: root/python/samba/netcmd/__init__.py
AgeCommit message (Expand)AuthorFilesLines
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
2021-06-10samba-tool: stick to the point with --versionDouglas Bagnall1-1/+1
2020-04-29samba-tool: fetch "no such subcommand" error and print error messageBjörn Baumbach1-0/+3
2019-07-02samba-tool: Make the 'bytes' option type avaiableGary Lockyer1-1/+2
2019-03-14python/samba/netcmd: provide SUPPRESS_HELP via Option classStefan Metzmacher1-0/+1
2018-11-01samba-tool: let self.usage() find argv[0] by itselfDouglas Bagnall1-2/+2
2018-10-25samba-tool: samba.getopt is not used hereDouglas Bagnall1-1/+0
2018-10-23python/samba/netcmd: PY3 fix CI error for samba.tests.samba_tool.helpNoel Power1-1/+2
2018-10-23samba-tool: PY3 dict view doesn't have sort method,Noel Power1-1/+1
2018-10-10netcmd: modify Command.get_logger to use get_samba_loggerJoe Guo1-5/+6
2018-08-24PEP8: fix E401: multiple imports on one lineJoe Guo1-2/+4
2018-08-24PEP8: fix E302: expected 2 blank lines, found 1Joe Guo1-0/+4
2018-08-24PEP8: fix E231: missing whitespace after ','Joe Guo1-2/+2
2018-08-24PEP8: fix E226: missing whitespace around arithmetic operatorJoe Guo1-2/+2
2018-08-24PEP8: fix E128: continuation line under-indented for visual indentJoe Guo1-3/+3
2018-08-24PEP8: fix E111: indentation is not a multiple of fourJoe Guo1-14/+14