Closed crypt0rr closed 1 year ago
Hello Bart, thanks to raise this issue! It's normally a ldap3 dependency but i didn't anticipate this side effect with my patching. Anyway I had to handle it because the error and the way to fix it can be non-intuitive for the user. See https://github.com/CravateRouge/bloodyAD/commit/a0cfa216bad0826f5e79feb0ef2341063b0cff55
I'm surprised that installing requests-kerberos fixed the issue for you because it doesn't seem to rely on gssapi or winkerberos. So the import issue should still be triggered I guess? Btw winkerberos is for Windows environments, this is why you couldn't install it on Kali.
After installing on clean Kali installation (also plays part on macOS), the following module is missing.
Installing
winkerberos
from pypi will result in error (both OS).Fixed by installing
requests-kerberos
-python3 -m pip install requests-kerberos