You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ro...@belgacom.be on 2006/02/16 13:00:59 UTC

[users@httpd] Solaris-10, Apache, PAM : can't get it to work

Hi,

I managed to compile and install Apache 2.2 from the source bundle on
Solaris-10,
then compiled and installed "mod_auth_pam" module,
then told Apache to use this PAM module with

LoadModule auth_pam_module modules/mod_auth_pam.so
AuthBasicProvider pam

but when I start "httpd", it fails with an error message

Unknown Authn provider: pam

-> "Authn" : why the "n" ?

This module "mod_authn_pam" is documented at Sourceforge, individual
files can be downloaded from its CVS, but not possible to build it on
Solaris-10.

Is there anyone who managed to get Apache running on Solaris with PAM
enabled ?

(final goal is to let Apache do user authentication via PAM, in which I
can then choose whatever method is used by the O/S to do the real
authentication).

Thx a lot in advance,

Rob
Belgium


**** DISCLAIMER ****
http://www.belgacom.be/maildisclaimer

Re: [users@httpd] Solaris-10, Apache, PAM : can't get it to work

Posted by Nick Kew <ni...@webthing.com>.
On Thursday 16 February 2006 12:00, rob.de.langhe@belgacom.be wrote:
> Hi,
>
> I managed to compile and install Apache 2.2 from the source bundle on
> Solaris-10,
> then compiled and installed "mod_auth_pam" module,
> then told Apache to use this PAM module with
>
> LoadModule auth_pam_module modules/mod_auth_pam.so
> AuthBasicProvider pam
>
> but when I start "httpd", it fails with an error message
>
> Unknown Authn provider: pam

That'll be an Apache 2.0 module.

It *should* work with 2.2, but won't use the 2.2 framework.
You'll have to follow 2.0 configuration instructions to use it.

> -> "Authn" : why the "n" ?

"Authentication".

> This module "mod_authn_pam" is documented at Sourceforge, individual
> files can be downloaded from its CVS, but not possible to build it on
> Solaris-10.

Is that at mod-auth.sf.net?  Some of that stuff is quite old and may not be
up to date with the 2.2 API as is now.

BTW, this is just based on your post.  No, I don't use these modules myself!

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org