Traceback (most recent call last):


 "/usr/bin/ldapdomaindump", line 3, in <module>

ldapdomaindump.main()


 "/usr/lib/python3/dist-packages/ldapdomaindump/__init__.py", line 912, in main

if not c.bind():


 "/usr/lib/python3/dist-packages/ldap3/core/connection.py", line 563, in bind

response = self.do_ntlm_bind(controls)


 "/usr/lib/python3/dist-packages/ldap3/core/connection.py", line 1302, in do_ntlm_bind

request = bind_operation(self.version, 'SICILY_RESPONSE_NTLM', ntlm_client, result['server_creds'])


 "/usr/lib/python3/dist-packages/ldap3/operation/bind.py", line 81, in bind_operation

server_creds = name.create_authenticate_message()


 "/usr/lib/python3/dist-packages/ldap3/utils/ntlm.py", line 379, in create_authenticate_message

nt_challenge_response = self.compute_nt_response()


 "/usr/lib/python3/dist-packages/ldap3/utils/ntlm.py", line 485, in compute_nt_response

response_key_nt = self.ntowf_v2()


 "/usr/lib/python3/dist-packages/ldap3/utils/ntlm.py", line 497, in ntowf_v2

return hmac.new(password_digest, (self.user_name.upper() + self.user_domain).encode('utf-16-le')).digest()


 "/usr/lib/python3.8/hmac.py", line 153, in new

return HMAC(key, msg, digestmod)


 "/usr/lib/python3.8/hmac.py", line 51, in __init__

raise TypeError("Missing required parameter 'digestmod'.")
TypeError: Missing required parameter 'digestmod'.

Traceback (most recent call last):


 "val1000.py", line 271, in <module>

a = TrainModel(i)


 "val1000.py", line 124, in __init__

self.model = models.squeezenet1_1(pretrained=True)


 "/home/min/a/ghosh37/.conda/envs/5.2.0/soumendu/lib/python3.7/site-packages/torchvision-0.2.1-py3.7.egg/torchvision/models/squeezenet.py", line 129, in squeezenet1_1


 "/home/min/a/ghosh37/.conda/envs/5.2.0/soumendu/lib/python3.7/site-packages/torch/nn/modules/module.py", line 704, in load_state_dict

load(self)


 "/home/min/a/ghosh37/.conda/envs/5.2.0/soumendu/lib/python3.7/site-packages/torch/nn/modules/module.py", line 699, in load

state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys, error_msgs)


 "/home/min/a/ghosh37/.conda/envs/5.2.0/soumendu/lib/python3.7/site-packages/torch/nn/modules/module.py", line 667, in _load_from_state_dict

if key.startswith(prefix):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
