1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/python/samba
Noel Power e7144f2e11 python/samba/netcmd: net.change_password should be passed string
password param which in python2 (is str) is incorrectly encoded
before passing to net.change_password.

python2 - password is either unicode or str, if str we should
          decode to get unicode (and then pass to net.change_password).
python3 - password is either str or bytes, if bytes then decode
          (and pass as 'str' to net.change_password).
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-05-17 11:31:29 +02:00
..
emulate traffic: improve add_short_packet by avoiding dict.get 2018-05-14 05:38:06 +02:00
kcc samba_kcc: remove an unused variable 2018-05-05 04:32:42 +02:00
netcmd python/samba/netcmd: net.change_password should be passed string 2018-05-17 11:31:29 +02:00
provision python/samba: py2/py3 compatability always decode result of b64encode 2018-05-12 21:38:17 +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 selftest: Make setexpiry test much more reliable 2018-05-15 23:58:17 +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/samba: port some isinstance str checks (to cater for unicode) 2018-04-30 15:43:19 +02:00
colour.py samba_kcc: kcc.debug module defers to samba.colour 2018-01-13 17:37:07 +01:00
common.py selftest: enable py3 for samba.tests.common 2018-04-05 08:59:10 +02:00
compat.py python/samba: Add binary_type for p2/p3 testing. 2018-04-30 15:43:19 +02:00
dbchecker.py python: Bulk conversion callers of ldb.Dn second param 2018-04-30 15:43:19 +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 samba python libs: convert 'except X, e' to 'except X as e' 2018-02-15 00:18:30 +01:00
forest_update.py python: fix the build with python3. 2018-01-16 16:38:23 +01:00
getopt.py python: Allow debug classes to be specified on the command line for python tools 2017-09-07 10:43:33 +02:00
gp_sec_ext.py gpo: Create a gp_sec_ext module 2018-04-12 08:13:34 +02:00
gpclass.py gpo: python chardet is not a dep of samba 2018-04-12 11:27:03 +02:00
graph.py python/samba: Py2/Py3 compat change '/' to '//' to ensure int result 2018-04-30 18:25:25 +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 samba-tool domain: Extend --backend-store to join and dcpromo by moving to common options 2018-05-15 21:13:27 +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: port some isinstance str checks (to cater for unicode) 2018-04-30 15:43:19 +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 samba python libs: convert print func to be py2/py3 compatible 2018-03-23 07:28:23 +01:00
remove_dc.py python: Bulk conversion callers of ldb.Dn second param 2018-04-30 15:43:19 +02:00
samdb.py python/samba: Fix incorrect encode of password 2018-05-17 11:31:28 +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 Move python modules from source4/scripting/python/ to python/. 2013-03-02 03:57:34 +01:00
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 devel: removing unused code from chgkrbtgtpass 2018-05-12 12:05:31 +02:00
xattr.py Move python modules from source4/scripting/python/ to python/. 2013-03-02 03:57:34 +01:00