Connecting Tech Pros Worldwide Help | Site Map

PHP & Pam Authentication

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 04:20 AM
Jay Moore
Guest
 
Posts: n/a
Default PHP & Pam Authentication

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


  #2  
Old July 17th, 2005, 04:20 AM
diva_pr at yahoo dot com
Guest
 
Posts: n/a
Default 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]

  #3  
Old July 17th, 2005, 04:22 AM
Jay Moore
Guest
 
Posts: n/a
Default 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

  #4  
Old July 17th, 2005, 04:26 AM
Jay Moore
Guest
 
Posts: n/a
Default 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]

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.