View Issue Details

IDProjectCategoryView StatusLast Update
0009975Kali LinuxKali Package Bugpublic2026-11-16 15:58
Reporterpigeonsandborbls Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009975: krbrelayx 0.0~git20261023.dd22943-0kali1: addspn fails with ModuleNotFoundError, ldap3_ad_auth dependency not declared
Description

The krbrelayx build that migrated to kali-rolling on 2026-11-11 (0.0~git20261023.dd22943-0kali1) is broken on a clean install.

The updated addspn.py now imports ldap3_ad_auth, but the package doesn’t ship that module and doesn’t list it in Depends. There’s also no python3-ldap3-ad-auth package in the Kali repos. The module is only available on PyPI as ldap3-ad-auth.

Because of this, addspn exits non-zero before it even prints its help text. That also breaks any CI that smoke-tests the installed binaries.

The previous build (0.0~git20260311.10b45a3-0kali1) works correctly.

Steps to Reproduce:

Start from a clean, up-to-date kali-rolling system.
sudo apt update && sudo apt install krbrelayx
Run addspn -h

Expected result: The addspn help text is printed.

Actual result:

$ addspn -h
Traceback (most recent call last):
File "/usr/share/krbrelayx/addspn.py", line 39, in <module>
from ldap3_ad_auth import bind_kerberos, bind_ntlm
ModuleNotFoundError: No module named 'ldap3_ad_auth'

Additional Information:
Suggested fix: package ldap3-ad-auth for Kali (e.g. as python3-ldap3-ad-auth) and add it to krbrelayx’s Depends. If that isn’t practical, vendor the module inside the krbrelayx package.

Workaround: pinning krbrelayx back to 0.0~git20260311.10b45a3-0kali1 restores working behaviour. This is only a stopgap, because the dependency needs to be declared in the package itself.

This was also reported by email to the package maintainer (Daniel Ruiz de Alegría) on 2026-11-12.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-11-16 15:58 pigeonsandborbls New Issue