Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on connection bind pyasn1 version 0.4.8 and 0.4.6 #210

Open
shashanksriva opened this issue Mar 30, 2022 · 0 comments
Open

Error on connection bind pyasn1 version 0.4.8 and 0.4.6 #210

shashanksriva opened this issue Mar 30, 2022 · 0 comments

Comments

@shashanksriva
Copy link

Below error is seen in the logs while connection binding. I am using ldap3 module to establish connection with LDAP server.

raise error.PyAsn1Error('Attempted "%s" operation on ASN.1 schema object' % name)
pyasn1.error.PyAsn1Error: Attempted "index" operation on ASN.1 schema object

Code snippet:
ldap_client = Server(ldap_server, get_info=ALL)
conn = Connection(ldap_client, user=ldap_username, password=ldap_password)
conn.bind()

@shashanksriva shashanksriva changed the title Error on connection bing pyasn1 version 0.4.8 and 0.4.6 Error on connection bind pyasn1 version 0.4.8 and 0.4.6 Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant