cherokee / webserver

Cherokee Web Server
GNU General Public License v2.0
563 stars 104 forks source link

pam authentication - change suggestion #924

Open danielniccoli opened 11 years ago

danielniccoli commented 11 years ago

Original author: pavel.l...@gmail.com (March 14, 2012 08:33:18)

What steps will reproduce the problem?

  1. Set LDAP authentication on linux system
  2. Set PAM authentication in cherokee
  3. Try log in cherokee with LDAP-only account - it fails

What is the expected output? What do you see instead? Normal user suppose it will use default pam authentication in system

What version of the product are you using? On what operating system? 1.2.101

Please provide any additional information below. When I set LDAP (or other) authentication on linux server, I suppose cherokee will use it, but it still use /etc/pam.d/cherokee file which is set for unix-pam only by default. Can we change it to use default pam authentication first? It is in file /etc/pam.d/system-auth on fedora/redhat.

I can change /etc/pam.d/cherokee to softlink to /etc/pam.d/system-auth in rpm package for Fedora/RHEL/CentOS but I prefere to change it better way in mainstream (code). Can you find better solution?

Original issue: http://code.google.com/p/cherokee/issues/detail?id=1349

danielniccoli commented 11 years ago

From ste...@konink.de on June 08, 2012 16:44:40 I wonder if this is a possibility. But lets log it as feature request.