Connecting Tech Pros Worldwide Help | Site Map

PHP & Pam Authentication

Jay Moore
Guest
 
Posts: n/a
#1: Jul 17 '05
I recently installed pam_auth on my server as a standalone module so I
could have people login to areas of my site using their Linux (cPanel)
login and password, but am having problems. It seems regardless of
whether or not the login/password combination are correct, the pam_auth
module returns a "Permission Denied" or "Authentication Failure".

I've Google'd on this and checked the above site, and have gotten
nowhere. I'm hoping someone here has experience with this and can
provide some helpful advice cuz I'm completely stumped.

Thanks,
-Jay

diva_pr at yahoo dot com
Guest
 
Posts: n/a
#2: Jul 17 '05

re: PHP & Pam Authentication


Jay Moore wrote:[color=blue]
> I recently installed pam_auth on my server as a standalone module so I
> could have people login to areas of my site using their Linux (cPanel)
> login and password, but am having problems. It seems regardless of
> whether or not the login/password combination are correct, the pam_auth
> module returns a "Permission Denied" or "Authentication Failure".[/color]

Please try following:[color=blue][color=green]
>> Check if the module is enabled in httpd.conf[/color][/color]
If not enable, enable it and restart the web daemon.
[color=blue][color=green]
>> Check if /etc/pam.d/httpd is created as part of pam_auth[/color][/color]
installation and is proper.( I assume you are using linux. I do not
know the location of other systems anyway.)

If it did not work still..Give following info..
[color=blue][color=green]
>> OS details, webserver details, pam_module details[/color][/color]
( all possible details like versions, download urls etc)
[color=blue][color=green]
>> error_log details ( for example on my redhat box[/color][/color]
the error log is in /var/log/httpd/error_log)

that would help us to see what the problem is.

hope this helps
Divakar
[color=blue]
> I've Google'd on this and checked the above site, and have gotten
> nowhere. I'm hoping someone here has experience with this and can
> provide some helpful advice cuz I'm completely stumped.
>
> Thanks,
> -Jay
>[/color]

Jay Moore
Guest
 
Posts: n/a
#3: Jul 17 '05

re: PHP & Pam Authentication


> Please try following:[color=blue][color=green][color=darkred]
> >> Check if the module is enabled in httpd.conf[/color][/color]
> If not enable, enable it and restart the web daemon.
>[color=green][color=darkred]
> >> Check if /etc/pam.d/httpd is created as part of pam_auth[/color][/color]
> installation and is proper.( I assume you are using linux. I do not
> know the location of other systems anyway.)[/color]

I followed the install directions at this site:
http://www.math.ohio-state.edu/~ccun...m_auth/INSTALL

It makes no mention of editing httpd.conf or making sure
/etc/pam.d/httpd exists. I followed all the instructions to a 't', and
as far as files existing where they should be and paths being correct,
everything else checks out.

[color=blue]
>
> If it did not work still..Give following info..
>[color=green][color=darkred]
> >> OS details, webserver details, pam_module details[/color][/color]
> ( all possible details like versions, download urls etc)[/color]

RH 9, Apache 1.3.29, PHP 4.3.3, pam info at the above url
[color=blue]
>[color=green][color=darkred]
> >> error_log details ( for example on my redhat box[/color][/color]
> the error log is in /var/log/httpd/error_log)
>
> that would help us to see what the problem is.[/color]

Aside from the error detailing it was unable to load the module (which I
fixed - had the path wrong), I see no other PHP issues in my error_log file.

I'm stumped.

-Jay

Jay Moore
Guest
 
Posts: n/a
#4: Jul 17 '05

re: PHP & Pam Authentication


Just reposting in case anyone missed it. I'm still having problems
using Pam Authentication despite following the install directions
explicitly. I keep getting "Authentication Failure" errors.

-Jay

Jay Moore wrote:[color=blue][color=green]
>> Please try following:[color=darkred]
>> >> Check if the module is enabled in httpd.conf[/color]
>> If not enable, enable it and restart the web daemon.
>>[color=darkred]
>> >> Check if /etc/pam.d/httpd is created as part of pam_auth[/color]
>> installation and is proper.( I assume you are using linux. I do not
>> know the location of other systems anyway.)[/color]
>
>
> I followed the install directions at this site:
> http://www.math.ohio-state.edu/~ccun...m_auth/INSTALL
>
> It makes no mention of editing httpd.conf or making sure
> /etc/pam.d/httpd exists. I followed all the instructions to a 't', and
> as far as files existing where they should be and paths being correct,
> everything else checks out.
>
>[color=green]
>>
>> If it did not work still..Give following info..
>>[color=darkred]
>> >> OS details, webserver details, pam_module details[/color]
>> ( all possible details like versions, download urls etc)[/color]
>
>
> RH 9, Apache 1.3.29, PHP 4.3.3, pam info at the above url
>[color=green]
>>[color=darkred]
>> >> error_log details ( for example on my redhat box[/color]
>> the error log is in /var/log/httpd/error_log)
>>
>> that would help us to see what the problem is.[/color]
>
>
> Aside from the error detailing it was unable to load the module (which I
> fixed - had the path wrong), I see no other PHP issues in my error_log
> file.
>
> I'm stumped.
>
> -Jay
>[/color]

Closed Thread