1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/auth
Noel Power 9b18748c70 auth/credentials: PY3 set_password should decode from unicode 'utf8'
set_password processes input using ParseTuple with "s" format, this
accepts string or unicode but...

Some py2 code is incorrectly using code like

   credentials.set_password(pass.encode('utf8'))

however that won't work in PY3. We should just make sure the string
retrieved from unicode passed in is encoded with 'utf8'
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-12-10 10:38:21 +01:00
..
credentials auth/credentials: PY3 set_password should decode from unicode 'utf8' 2018-12-10 10:38:21 +01:00
gensec auth:gensec: Add FALL_THROUGH statements in spnego.c 2018-03-01 04:37:43 +01:00
kerberos auth/kerberos: Fix typo in error message regarding fetching PAC using Heimdal 2018-03-19 07:33:44 +01:00
ntlmssp auth: Use the zlib version of crc32 2018-10-09 22:32:12 +02:00
auth_log.c auth: Use dom_sid_str_buf 2018-11-02 21:21:16 +01:00
auth_sam_reply.c auth: add auth_user_info_copy() function 2018-03-15 21:54:17 +01:00
auth_sam_reply.h auth: add auth_user_info_copy() function 2018-03-15 21:54:17 +01:00
auth_util.c auth: move copy_session_info() from source3 into the global auth context 2018-10-11 10:28:17 +02:00
auth_util.h auth: move copy_session_info() from source3 into the global auth context 2018-10-11 10:28:17 +02:00
common_auth.h auth: For NTLM and KDC authentication, log the authentication duration 2018-06-25 08:32:14 +02:00
wbc_auth_util.c auth/wbc_auth_util: change wbcAuthUserInfo_to_netr_SamInfo* from level 3 to 6 2016-06-30 03:30:26 +02:00
wscript_build auth: move copy_session_info() from source3 into the global auth context 2018-10-11 10:28:17 +02:00