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

structure error: superfluous leading zeros in length #10

Open
pilotkid opened this issue Apr 16, 2021 · 0 comments
Open

structure error: superfluous leading zeros in length #10

pilotkid opened this issue Apr 16, 2021 · 0 comments

Comments

@pilotkid
Copy link

pilotkid commented Apr 16, 2021

Hello, I am not sure where to begin debugging this. However, when I am attempting to use an LDAP viewer on my computer, or connect my phones (two fanvil and two grandstream) I am getting the following output:
image

Text Version of Error

2021/04/16 19:38:39 Listening on :10389
2021/04/16 19:38:45 Connection client [1] from 192.168.4.25:57077 accepted
2021/04/16 19:38:45 Error reading Message : ReadLDAPMessage:
ReadSubBytes:
ParseTagAndLength: asn1: structure error: superfluous leading zeros in length
30840000004402011463840000003b04000a01000a0100020100020178010100870b6f626a656374636c6173733084000000170415737570706f727465644361706162696c6974696573
2021/04/16 19:40:45 Error reading Message : ReadLDAPMessage:
ReadSubBytes:
ParseTagAndLength: asn1: structure error: superfluous leading zeros in length
308400000006020115500114
2021/04/16 19:40:45 Error reading Message : ReadLDAPMessage:
ReadSubBytes:
ParseTagAndLength: asn1: structure error: superfluous leading zeros in length
30840000004602011663840000003d04000a01000a0100020100020178010100870b6f626a656374636c6173733084000000190417737570706f727465645341534c4d656368616e69736d73
2021/04/16 19:42:45 Error reading Message : ReadLDAPMessage:
ReadSubBytes:
ParseTagAndLength: asn1: structure error: superfluous leading zeros in length
308400000006020117500116
2021/04/16 19:42:45 Error reading Message : ReadLDAPMessage:
ReadSubBytes:
ParseTagAndLength: asn1: structure error: superfluous leading zeros in length
3084000000050201184200
2021/04/16 19:42:45 Error readMessagePacket: EOF
2021/04/16 19:42:45 client 1 close()
2021/04/16 19:42:45 client 1 close() - stop reading from client
2021/04/16 19:42:45 client 1 close() - Abandon signal sent to processors
2021/04/16 19:42:45 client [1] request processors ended
2021/04/16 19:42:45 client [1] connection closed

Steps used to debug:
  • I am using asterisk for the username as the password (since it doesn't matter according to the readme).
  • I have set the base as both asterisk and dc=asterisk
  • I have set LDAP version to both 2 and 3.
  • I have used both Simple and GSS-API authentication
  • SSL and TLS are both disabled
  • I am always using port 10389 and the firewall has been set to allow all connections to that port

Is this a setup issue or a software issue? What can I do to fix it?

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