fix(ldap): MD4-Fallback für NTLM-Auth gegen Active Directory

Das von uv gebundelte Python (python-build-standalone) bringt OpenSSL
ohne legacy-Provider mit, weshalb hashlib.new('md4') fehlschlägt. ldap3
braucht MD4 aber für NTLM-Auth gegen AD - sichtbar im Workflow-Schritt
'5. AD Computer-Daten speichern' der MSP Documentation als Fehler
'unsupported hash type MD4'.

- Monkey-Patch in tactical-rmm.py: hashlib.new('md4') fällt auf
  pycryptodome's MD4 zurück
- pycryptodome zu requirements.txt hinzugefügt
- Toten Prototyp active_directory_tools.py entfernt (nicht importiert,
  Logik längst in tactical-rmm.py:fetch_and_store_ad_user_data übernommen)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-30 09:50:11 +02:00
co-authored by Claude Opus 4.7
parent 1b461ca1aa
commit 87278edfe3
3 changed files with 22 additions and 198 deletions
+1
View File
@@ -3,3 +3,4 @@ ipaddress
passwordgenerator
urbackup-server-web-api-wrapper
pandas
pycryptodome