Package: python3-ldap3
Version: 0.9.8.4-2
Severity: important
Dear Maintainer,
the current version of python3-ldap3 (0.9.8.4-2) in the unstable repository is
not compatible with the dependency python3-pyasn1 (0.1.8-1).
I search for all active users in our active directory with the following search
filter:
(&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=512)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
But this will be quit with an exception:
pyasn1.error.PyAsn1Error: Component value is tag-incompatible:
Not(componentType=NamedTypes(NamedType('innerNotFilter',
Filter(componentType=NamedTypes(NamedType('and', And(componentType=None)),
NamedType('or', Or(componentType=None)), NamedType('notFilter',
Not(componentType=NamedTypes(), tagSet=TagSet((), ))),
NamedType('equalityMatch',
EqualityMatch(componentType=NamedTypes(NamedType('attributeDesc',
AttributeDescription()), NamedType('assertionValue', AssertionValue())))),
NamedType('substringFilter',
SubstringFilter(componentType=NamedTypes(NamedType('type',
AttributeDescription()), NamedType('substrings', Substrings())))),
NamedType('greaterOrEqual',
GreaterOrEqual(componentType=NamedTypes(NamedType('attributeDesc',
AttributeDescription()), NamedType('assertionValue', AssertionValue())))),
NamedType('lessOrEqual',
LessOrEqual(componentType=NamedTypes(NamedType('attributeDesc',
AttributeDescription()), NamedType('assertionValue', AssertionValue())))),
NamedType('present', Presen
t()), NamedType('approxMatch',
ApproxMatch(componentType=NamedTypes(NamedType('attributeDesc',
AttributeDescription()), NamedType('assertionValue', AssertionValue())))),
NamedType('extensibleMatch',
ExtensibleMatch(componentType=NamedTypes(OptionalNamedType('matchingRule',
MatchingRule()), OptionalNamedType('type', Type()), NamedType('matchValue',
MatchValue()), DefaultedNamedType('dnAttributes',
DnAttributes('False')))))))))).setComponents(Filter(componentType=NamedTypes(NamedType('and',
And(componentType=None)), NamedType('or', Or(componentType=None)),
NamedType('notFilter', Not(componentType=NamedTypes(), tagSet=TagSet((), ))),
NamedType('equalityMatch',
EqualityMatch(componentType=NamedTypes(NamedType('attributeDesc',
AttributeDescription()), NamedType('assertionValue', AssertionValue())))),
NamedType('substringFilter',
SubstringFilter(componentType=NamedTypes(NamedType('type',
AttributeDescription()), NamedType('substrings', Substrings())))),
NamedType('greaterOrEqual', Greater
OrEqual(componentType=NamedTypes(NamedType('attributeDesc',
AttributeDescription()), NamedType('assertionValue', AssertionValue())))),
NamedType('lessOrEqual',
LessOrEqual(componentType=NamedTypes(NamedType('attributeDesc',
AttributeDescription()), NamedType('assertionValue', AssertionValue())))),
NamedType('present', Present()), NamedType('approxMatch',
ApproxMatch(componentType=NamedTypes(NamedType('attributeDesc',
AttributeDescription()), NamedType('assertionValue', AssertionValue())))),
NamedType('extensibleMatch',
ExtensibleMatch(componentType=NamedTypes(OptionalNamedType('matchingRule',
MatchingRule()), OptionalNamedType('type', Type()), NamedType('matchValue',
MatchValue()), DefaultedNamedType('dnAttributes',
DnAttributes('False'))))))).setComponents(None, None, None, None, None, None,
None, None, None,
ExtensibleMatch(componentType=NamedTypes(OptionalNamedType('matchingRule',
MatchingRule()), OptionalNamedType('type', Type()), NamedType('matchValue',
MatchValue()), Defaulted
NamedType('dnAttributes',
DnAttributes('False')))).setComponents(MatchingRule(b'1.2.840.113556.1.4.803'),
Type(b'userAccountControl'), MatchValue(b'2'), DnAttributes('False')))) vs
Not(componentType=NamedTypes(), tagSet=TagSet((), ))
If I remove the last part of the search filter the search will be executed:
(&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=512))
If I downgrade pyasn1 to 0.1.7 (via pip) OR if I upgrade ldap3 to version
0.9.8.7 (via pip) it works again.
Please upgrade this package to the current upstream version 0.9.8.7. Thank you.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-ldap3 depends on:
ii python3-pyasn1 0.1.8-1
pn python3:any <none>
python3-ldap3 recommends no packages.
python3-ldap3 suggests no packages.
-- no debconf information