ldaptor icon indicating copy to clipboard operation
ldaptor copied to clipboard

BERDecoderContext has no tag 0x0d

Open surendarchandra opened this issue 6 years ago • 6 comments

Am using a third party proxy for my LDAP client and seeing this error. What does this tag: 0x0d mean?If possible, I'd like to work around it.

BERDecoderContext has no tag 0x0d: <LDAPBERDecoderContext_TopLevel identities={0x10: LDAPMessage} fallback=None inherit=<LDAPBERDecoderContext_LDAPMessage identities={0x80: LDAPControls, 0x53: LDAPSearchResultReference} fallback=<LDAPBERDecoderContext identities={0x40: LDAPBindRequest, 0x41: LDAPBindResponse, 0x42: LDAPUnbindRequest, 0x43: LDAPSearchRequest, 0x44: LDAPSearchResultEntry, 0x45: LDAPSearchResultDone, 0x46: LDAPModifyRequest, 0x47: LDAPModifyResponse, 0x48: LDAPAddRequest, 0x49: LDAPAddResponse, 0x4a: LDAPDelRequest, 0x4b: LDAPDelResponse, 0x4c: LDAPModifyDNRequest, 0x4d: LDAPModifyDNResponse, 0x50: LDAPAbandonRequest, 0x83: LDAPReferral, 0x57: LDAPExtendedRequest, 0x58: LDAPExtendedResponse} fallback=<BERDecoderContext identities={0x01: BERBoolean, 0x02: BERInteger, 0x04: BEROctetString, 0x05: BERNull, 0x0a: BEREnumerated, 0x10: BERSequence, 0x11: BERSet} fallback=None inherit=None> inherit=None> inherit=<LDAPBERDecoderContext identities={0x40: LDAPBindRequest, 0x41: LDAPBindResponse, 0x42: LDAPUnbindRequest, 0x43: LDAPSearchRequest, 0x44: LDAPSearchResultEntry, 0x45: LDAPSearchResultDone, 0x46: LDAPModifyRequest, 0x47: LDAPModifyResponse, 0x48: LDAPAddRequest, 0x49: LDAPAddResponse, 0x4a: LDAPDelRequest, 0x4b: LDAPDelResponse, 0x4c: LDAPModifyDNRequest, 0x4d: LDAPModifyDNResponse, 0x50: LDAPAbandonRequest, 0x83: LDAPReferral, 0x57: LDAPExtendedRequest, 0x58: LDAPExtendedResponse} fallback=<BERDecoderContext identities={0x01: BERBoolean, 0x02: BERInteger, 0x04: BEROctetString, 0x05: BERNull, 0x0a: BEREnumerated, 0x10: BERSequence, 0x11: BERSet} fallback=None inherit=None> inherit=None>>>

surendarchandra avatar Jan 03 '19 21:01 surendarchandra

What version of Ldaptor are you running?

psi29a avatar Jan 06 '19 20:01 psi29a

Not sure, this is a third party proxy. I do see the ldaptor sources though I cannot find the version info.

surendarchandra avatar Jan 07 '19 09:01 surendarchandra

can't you do a pip list ?
or look at the changelog of the ldaptor sources or the setup.py ?

psi29a avatar Jan 07 '19 11:01 psi29a

I don't have access to the third party sources. pip thinks it is 0.0.0

ldaptor 0.0.0

This is what I see in the PKG-INFO.

Metadata-Version: 1.0 Name: ldaptor Version: 0.0.0 Summary: Pure-Python library for LDAP Home-page: UNKNOWN Author: Tommi Virtanen Author-email: [email protected] License: GNU LGPL Description: Ldaptor is a pure-Python library that implements

    - LDAP client logic.
    
    - separately-accessible LDAP and BER protocol message
    generation/parsing.
    
    - ASCII-format LDAP filter generation and parsing.
    
    - LDIF format data generation.
    
    - Samba password changing logic.
    
    Also included is a web-based user interface to search and edit
    information in an LDAP directory and a set of LDAP utilities for use
    from the command line.

Platform: UNKNOWN

surendarchandra avatar Jan 08 '19 03:01 surendarchandra

so you can't see if this file exists? docs/source/NEWS.rst

psi29a avatar Jan 09 '19 09:01 psi29a

Unfortunately no, there are the files and directories:

$ ls -CF apps/ config.py dns.pyc generate_password.py inmemory.pyc ldapfilter.py md4.pyc schema.py U32.py weave.pyc attributeset.py config.pyc entryhelpers.py generate_password.pyc insensitive.py ldapfilter.pyc numberalloc.py schema.pyc U32.pyc attributeset.pyc delta.py entryhelpers.pyc init.py insensitive.pyc ldiftree.py numberalloc.pyc test/ usage.py checkers.py delta.pyc entry.py init.pyc interfaces.py ldiftree.pyc protocols/ testutil.py usage.pyc checkers.pyc dns.py entry.pyc inmemory.py interfaces.pyc md4.py samba/ testutil.pyc weave.py

surendarchandra avatar Jan 11 '19 17:01 surendarchandra