]> git.ipfire.org Git - thirdparty/samba.git/commit
python:tdb_util: "samba-tool domain backup offline" hangs
authorAndrea Venturoli <ml@netfence.it>
Wed, 19 Feb 2025 07:51:16 +0000 (08:51 +0100)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 27 Feb 2025 00:02:38 +0000 (00:02 +0000)
commit7e083a6b3a12933b79ef19ccbd4c13bfa0203498
tree5c7597c9351b44831adf7bbb89896ae566f01364
parent84919f47e17ceecabd769a7b5279ed8ed32a1228
python:tdb_util: "samba-tool domain backup offline" hangs

GNU getopt(3) is by default non-POSIX compliant and accepts options after
positional arguments (unless forced with POSIXLY_CORRECT). This is not portable,
e..g., on FreeBSD. Put options first and then positional arguments.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15804

Signed-off-by: Andrea Venturoli <ml@netfence.it>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
python/samba/tdb_util.py