You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no idea what could be causing this. I have only very basic knowledge of Python and didn’t write the respective code myself.
As far as my research can tell, struct.unpack('>h', input_length) should always expect 2 bytes, so it is a mystery to me why in your case it expects 4.
Are you running the script on a normal 64bit x86 processor? Are you sure that the script is executed with Python 2 (run /usr/bin/python --version)?
Hi,
I see you're working on the script right now, so I decided to share the issue.
I'm trying to set up the script to authenticate against postfixadmin user DB
I set db settings right in the code as well as password query. Other queries are disabled.
The wierd thing is that I see this in ejabberd logs:
When I try to test it with test.sh I see this:
Versions:
ejabberd 16.01-2
Ubuntu 16.04
python 2.7.12
Do you think you could help me? Thanks in advance.
Mike
The text was updated successfully, but these errors were encountered: