85degree / prosody-modules

Automatically exported from code.google.com/p/prosody-modules
MIT License
0 stars 0 forks source link

mod_auth_pam fails with current version of lua-pam #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use lua-pam from repository
2. Realize auth is not working

What is the expected output? What do you see instead?
Auth working

What version of the product are you using? On what operating system?
0.9.1 on Debian Linux

Please provide any additional information below.
lua-pam changed the constant names. Therefore ``pam.PAM_PROMPT_ECHO_OFF`` 
should become ``pam.PROMPT_ECHO_OFF`` and ``pam.PAM_SUCCESS`` should become 
``pam.SUCCESS``. Applying these changes fixes the issue and auth works again.

If interested, I can provide a pull request or something.

Original issue reported on code.google.com by xivoni...@gmail.com on 18 Nov 2013 at 12:10

GoogleCodeExporter commented 9 years ago
This addresses much of my problem in #34. The only remaining issue to solve is 
accessing PAM passwords without belonging to the shadow group or running as 
root. 

Original comment by augu...@gmail.com on 19 Nov 2013 at 6:08

GoogleCodeExporter commented 9 years ago
Duplicate of bug #34

Original comment by devuran...@gmx.net on 26 Jan 2014 at 1:23