1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4
Noel Power 75e1019f61 s4/libnet: Allow passwords containing non ascii characters to be passed
Although we can pass unicode to py_net_change_password unfortunately in
Python2 unicode strings are encoded with the default encoding (e.g. ascii)
 when extracting the unicode string to buffer.
In Python3 the default encoding for "s" format is utf8. Use the "es"
format instead of "s" so we can specify the encoding so behaviour is
correct in py2/py3.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-05-17 11:31:28 +02:00
..
auth auth: keytab invalidation fix 2018-05-15 15:45:08 +02:00
build/pasn1
cldap_server samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
client s4:client: Fix size types and loop 2018-04-03 20:20:10 +02:00
cluster dbwrap: Remove calls to loadparm 2018-04-24 01:53:19 +02:00
dns_server samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
dsdb s4:dsdb:tests: Add return code check 2018-05-16 21:30:22 +02:00
echo_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
heimdal Bulk: enclose .keys() method with list where list (from python2) expected 2018-05-12 21:38:17 +02:00
heimdal_build heimdal_build: use closefrom from libreplace 2018-02-21 14:19:19 +01:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc Fix spelling s/fowarding/forwarding/ 2018-05-12 02:09:26 +02:00
ldap_server samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
lib s4/lib/py-registry: initialize optional parameters for open_* functions 2018-04-13 07:27:14 +02:00
libcli pysmb: Add some more documentation for conn.list 2018-05-12 04:57:29 +02:00
libnet s4/libnet: Allow passwords containing non ascii characters to be passed 2018-05-17 11:31:28 +02:00
librpc s4/librpc: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
nbt_server samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
ntp_signd samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
ntvfs Fix spelling s/propogate/propagate/ 2018-05-12 02:09:27 +02:00
param s4/param: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
rpc_server s4:lsa_lookup: remove TALLOC_FREE(state) after all dcesrv_lsa_Lookup{Names,Sids}_base_map() calls 2018-05-13 10:27:28 +02:00
script s4/script: convert print func to be py2/py3 compatible 2018-03-23 07:28:24 +01:00
scripting s4/scripting/devel: py2/py3 compatability always decode result of b64encode 2018-05-12 21:38:17 +02:00
selftest auth logging: Extract common audit logging code 2018-05-16 04:07:16 +02:00
setup s4/setup/tests: Add test for non ascii password setting samba-tool 2018-05-17 11:31:28 +02:00
smb_server samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
smbd samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
torture s4:torture: Do not leak file descriptor in smb2 oplock test 2018-05-17 04:03:21 +02:00
utils s4:utils: Fix size types 2018-03-20 23:16:15 +01:00
web_server s4/webserver: initialise optional parameter 2018-04-13 07:27:14 +02:00
winbind samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
wrepl_server source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
.clang_complete
.valgrind_suppressions
wscript_build Do not install smbclient4 and nmblookup4 2014-04-15 03:25:13 +02:00