1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/python/samba
Tim Beale 4f532cc177 netcmd: Improve domain backup targetdir checks
+ Added check that specified targetdir is actually a directory (if it
exists)
+ Deleted a redundant 'Creating targetdir' check that would never be hit
+ Move code into a separate function so we can reuse it for offline
backups (which take a different set of parameters, but still have a
targetdir)

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2018-08-06 05:37:42 +02:00
..
emulate python/samba/emulate: Fix some more missed exception tuple assignments 2018-07-13 01:12:24 +02:00
kcc python/samba/kcc: md5 needs to be passed bytes in py3 2018-07-13 01:12:25 +02:00
netcmd netcmd: Improve domain backup targetdir checks 2018-08-06 05:37:42 +02:00
provision provision/setsysvolacl: create helper function to simplify code 2018-07-12 04:32:01 +02:00
samba3 Fix spelling s/retrive/retrieve/ 2018-05-12 02:09:27 +02:00
subunit python: bulk replace file to open for py3 2018-04-13 07:27:12 +02:00
tests dns scavenging: Add extra tests for custom filter 2018-08-06 05:36:42 +02:00
web_server samba python libs: convert print func to be py2/py3 compatible 2018-03-23 07:28:23 +01:00
__init__.py python: export fault_setup() to python bindings 2018-06-12 08:13:21 +02:00
colour.py python/colour: add colourizing and switch functions 2018-05-31 01:57:17 +02:00
common.py selftest: enable py3 for samba.tests.common 2018-04-05 08:59:10 +02:00
compat.py python/samba: Add cmp_fn and cmp_to_key_fn functions for py2/py3 2018-07-13 01:12:25 +02:00
dbchecker.py dbchecker: Fixing up incorrect DNs wasn't working 2018-07-03 05:24:13 +02:00
descriptor.py python: Bulk conversion callers of ldb.Dn second param 2018-04-30 15:43:19 +02:00
dnsserver.py python: Move dnsserver helper functions into samba.dnsserver 2017-02-23 11:36:21 +01:00
domain_update.py python/samba: py2/py3 compatability always decode result of b64encode 2018-05-12 21:38:17 +02:00
drs_utils.py drs_utils: Always set the GET_TGT flag for clone renames 2018-07-05 04:01:25 +02:00
forest_update.py python: fix the build with python3. 2018-01-16 16:38:23 +01:00
getopt.py python: call fault_setup() if samba.getopt is used 2018-06-12 11:04:55 +02:00
gp_ext_loader.py gpo: Add user policy extensions 2018-07-12 22:11:23 +02:00
gp_sec_ext.py samdb: use int for get and set methods instead of digit str 2018-07-13 01:12:24 +02:00
gpclass.py gpo: Don't duplicate guids in the apply log 2018-07-12 22:11:23 +02:00
graph.py python/samba: enclose map.values with list (py2/py3) 2018-06-20 00:18:23 +02:00
hostconfig.py selftest: enable py3 for samba.tests.hostconfig 2018-04-05 08:59:10 +02:00
idmap.py python/samba: Bulk replace of '.next()' method with function 'next()' 2018-05-12 21:38:16 +02:00
join.py join: Add more framework for renaming a domain 2018-07-05 04:01:25 +02:00
mdb_util.py python: Add wrapper of mdb_copy that we can call from python 2018-04-06 02:08:45 +02:00
ms_display_specifiers.py samba python libs: convert print func to be py2/py3 compatible 2018-03-23 07:28:23 +01:00
ms_forest_updates_markdown.py samba python libs: convert print func to be py2/py3 compatible 2018-03-23 07:28:23 +01:00
ms_schema_markdown.py samba python libs: convert print func to be py2/py3 compatible 2018-03-23 07:28:23 +01:00
ms_schema.py python/samba/netcmd/schema.py: add schema query and management. 2018-05-29 05:34:08 +02:00
ndr.py python:ndr: add ndr_{pack,unpack,print}_{in,out} helper functions 2016-10-26 11:20:19 +02:00
ntacls.py ntacls: add session_info arg to setntacl and pass down to set_nt_acl api 2018-07-12 04:32:00 +02:00
remove_dc.py netcmd: Extend 'backup restore' command to handle renamed domains 2018-07-05 04:01:25 +02:00
samdb.py samdb: use int for get and set methods instead of digit str 2018-07-13 01:12:24 +02:00
schema.py python/samba: py2/py3 compatability always decode result of b64encode 2018-05-12 21:38:17 +02:00
sd_utils.py python: Allow sd_utils to take a Dn object, not just a string DN 2017-06-10 21:48:20 +02:00
sites.py samba python libs: convert 'except X, (tuple)' to 'except X as e' 2018-02-28 23:01:40 +01:00
subnets.py samba python libs: convert 'except X, (tuple)' to 'except X as e' 2018-02-28 23:01:40 +01:00
tdb_util.py
upgrade.py samba-tool domain classicupgrade: Do not mix python-samdb transactions and passdb modifications 2018-04-06 02:08:44 +02:00
upgradehelpers.py python/samba/tests: py2/py3 port has_keys usage 2018-06-20 00:18:21 +02:00
xattr.py