#842 mod_auth_external: protocol ejabberd is not working
Reporter
Klaus
Owner
Nobody
Created
Updated
Stars
★★ (2)
Tags
Component-Community
Priority-Medium
Type-Defect
Status-New
Klaus
on
What steps will reproduce the problem?
1. Add a script with option `external_auth_protocol=ejabberd'
2. strace this script
3. Try to login
What is the expected output? What do you see instead?
I expect that some data is passed to the script, but `pty:send(text)` returns nil and also strace only shows `read`.
What version of the product are you using? On what operating system?
Prosody 0.9.10 on Ubuntu 16.04.2 LTS
What steps will reproduce the problem? 1. Add a script with option `external_auth_protocol=ejabberd' 2. strace this script 3. Try to login What is the expected output? What do you see instead? I expect that some data is passed to the script, but `pty:send(text)` returns nil and also strace only shows `read`. What version of the product are you using? On what operating system? Prosody 0.9.10 on Ubuntu 16.04.2 LTS
Klaus, this could be related to the pty:flush() in issue #855 https://prosody.im/issues/issue/855
Tagging issue as affecting a community module, not officially supported by the Prosody team.
Changes