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 "Authentica tion 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 3 10240
Jay Moore wrote: 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 "Authentica tion Failure".
Please try following: Check if the module is enabled in httpd.conf
If not enable, enable it and restart the web daemon.
Check if /etc/pam.d/httpd is created as part of pam_auth
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..
OS details, webserver details, pam_module details
( all possible details like versions, download urls etc)
error_log details ( for example on my redhat box
the error log is in /var/log/httpd/error_log)
that would help us to see what the problem is.
hope this helps
Divakar
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
> Please try following: >> Check if the module is enabled in httpd.conf If not enable, enable it and restart the web daemon. >> Check if /etc/pam.d/httpd is created as part of pam_auth installation and is proper.( I assume you are using linux. I do not know the location of other systems anyway.)
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. If it did not work still..Give following info.. >> OS details, webserver details, pam_module details ( all possible details like versions, download urls etc)
RH 9, Apache 1.3.29, PHP 4.3.3, pam info at the above url
>> error_log details ( for example on my redhat box
the error log is in /var/log/httpd/error_log)
that would help us to see what the problem is.
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
Just reposting in case anyone missed it. I'm still having problems
using Pam Authentication despite following the install directions
explicitly. I keep getting "Authentica tion Failure" errors.
-Jay
Jay Moore wrote: Please try following: >> Check if the module is enabled in httpd.conf If not enable, enable it and restart the web daemon.
>> Check if /etc/pam.d/httpd is created as part of pam_auth installation and is proper.( I assume you are using linux. I do not know the location of other systems anyway.)
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.
If it did not work still..Give following info..
>> OS details, webserver details, pam_module details ( all possible details like versions, download urls etc)
RH 9, Apache 1.3.29, PHP 4.3.3, pam info at the above url
>> error_log details ( for example on my redhat box the error log is in /var/log/httpd/error_log)
that would help us to see what the problem is.
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rich |
last post by:
I am running IIS6 on a Win2k3 server.
I have an ASP.Net app (C#) that a user logs into and then I use
LogonUser to validate them and log them onto the server. I have
Windows Authentication ONLY checked on the site in IIS.
My problem is that eventhough I am using LogonUser to log on to the
server as the user, I am still getting the Windows Authentication
Challenge (login window).
|
by: Thomas |
last post by:
after spending countless hours trying, i give up and hope to get some help
in here.
on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm
trying to read a file from an UNC path with a FSO:
Set myFile =
Server.CreateObject("Scripting.FileSystemObject").GetFile("\\server2\myshare\myfile.txt")
this fails with an Permission Denied.
here's the deal:
|
by: Martin |
last post by:
Hi,
After I gave up on tracking user sessions through the session object
(Session_OnEnd is still not triggered by Abandon() even with mode=InProc and
me manipulating session variables; in a new test project it is only
triggered the first time, it really sucks pretty bad) I started looking at
alternatives and I found FormsAuthentication. I just implemened it and it
seems very nice. But, of course, there is a problem with it (it wouldn't...
|
by: Rob Mayo |
last post by:
What I'm trying to do is Create an ASP.Net app that has both
Windows-authenticated users and Anonymous users. The idea is this:
When authenticated users attempt to access the site, their credentials are
passed to the Request, and I use the DOMAIN\USER value via the AUTH_USER
server variable to access their accounts. These people would never have to
log in to the app, only their machines on the network.
When anonymous users attempt to...
|
by: TipTop |
last post by:
I am trying to use integrated Windows authentication and
impersonation to run a page that accesses SQL Server via integrated
security. It's not working -- sort of. I've set IIS security to
integrated Windows authentication (and unchecked the other options).
I've set the web.config to use Windows authentication and set
impersonation to true. The connection string includes Integrated
Security = SSPI. And it works... if you access the...
| |
by: Chris Mohan |
last post by:
Hi, I've configured a web app to use windows authentication and also set up two separate subdirectories to use forms authentication. It appears to work fine but I have never seen a sample that demonstrates both in the same web.config and I don't like assuming i've done this correctly and securely.
Please take a look at the following from my web.config and let me know what you think(its not the full config-- just stripped down to its...
|
by: Stu Lock |
last post by:
Hi,
Is there a way of requiring a log in for individual asp.net pages rather
than securing a entire directory. I have a web app where there are 100+
pages but only 2 need to be password protected. I am currently using forms
authentication to block the entire folder:
<authentication mode="Forms">
<forms name=".MYCOOKIE"
loginUrl="login.aspx"
|
by: Grzegorz Kaczor |
last post by:
Hello,
I have an ASP.NET application in my website in virtual folder A.
This folder contains the application itself. I also have a data virtual
directory B which contains data that can be seen by authenticated users.
I've implemented forms authentication (with application in folder
A) in a standard way. I've also set up a redirection in IIS so that
every request concerning folder B (for example GET /B/a/b/c) is
redirected to...
|
by: Rob R. Ainscough |
last post by:
I'm using forms authentication along with Master pages -- my authenticated
forms reside is a sub-dir (Secure) below the web site root dir. The problem
is that any graphics placed on the Master page do NOT appear in any of the
web forms located in my Secure dir, however, any forms off the root of my
web app will display the master page with the graphics.
Is there some trick to get master pages to work with forms authentication of
forms...
|
by: gunimpi |
last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431
********************************************************
VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help
wanted
********************************************************
For this teeny job, please refer to:
http://feeds.reddit.com/feed/8fu/?o=25
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |