Re: PAM auth broken in nginx v1.10.2-4~bpo8+1
Hello Daniel and thank you for the report,
On Mon, Feb 27, 2017 at 10:21:11AM -0700, Daniel Urist wrote:
PAM auth has apparently stopped working in the latest nginx packages from
backports. This was previously working with backports packages, and still
works with the packages from the regular jessie repos.
Here's the config error:
root@test-git:/home/durist# nginx -t
nginx: [emerg] unknown directive "auth_pam" in /etc/nginx/nginx.conf:67
nginx: configuration file /etc/nginx/nginx.conf test failed
auth-pam has been converted to a dynamic module and shipped via
libnginx-mod-http-auth-pam package which is installed in your system.
The migration should be transparent unless you have manually edited
nginx.conf at some point. If that's the case you need to manually
include the module directory files, there is a NEWS entry about that.
Can you please check that you have the following line is present
near the top of your /etc/nginx/nginx.conf file:
Also, check that /etc/nginx/modules-enabled/50-mod-http-auth-pam.conf
is there and includes the modules/ngx_http_auth_pam_module.so module.
Waiting for your feedback,