mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
cc11f71820
In PY3 both deepcopy & (shallow)copy fail with Traceback (most recent call last): File "auth/credentials/tests/bind.py", line 42, in <module> creds_machine = copy.copy(creds) File "/usr/lib64/python3.6/copy.py", line 96, in copy rv = reductor(4) TypeError: can't pickle credentials.Credentials objects This patch avoids the nasty copies but creating and populating the Credential objects instead of copying Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
tests | ||
credentials_internal.h | ||
credentials_krb5.c | ||
credentials_krb5.h | ||
credentials_ntlm.c | ||
credentials_secrets.c | ||
credentials.c | ||
credentials.h | ||
pycredentials.c | ||
pycredentials.h | ||
samba-credentials.pc.in | ||
wscript_build |