freepbx-ldap
freepbx-ldap copied to clipboard
structure error: superfluous leading zeros in length
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:
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
- 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
anddc=asterisk
- I have set LDAP version to both 2 and 3.
- I have used both
Simple
andGSS-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?