Обсуждение: Apache authentication

Поиск
Список
Период
Сортировка

Apache authentication

От
Giorgio Volpe
Дата:
I have a problem with apache authentication.
I recently upgrade to postgresql v7.1, upgrading debian distribution (to woody, testing distribution)
and i discovered that  the pakage for apache authentication is no longer there.
(may be they suggest to use PAM instead)
This is really a problem for me for i use it in many sites!

I tried to use old module (for version 6.5 of db) does not work!

Does anybody knows where can i found a module for apache authentication with postgresql 7.1?
Does it work recompiling old module with new libraries?

thanks in advance ...
 

-- 

    Giorgio

-----------------------------------------
 

Re: Apache authentication

От
Giuseppe Tanzilli - CSF
Дата:
Ciao,
try mod_auth_pgsql   at http://www.giuseppetanzilli.t/mod_auth_pgsql/

bye


Giorgio Volpe wrote:

> I have a problem with apache authentication.
> I recently upgrade to postgresql v7.1, upgrading debian distribution
> (to woody, testing distribution)
> and i discovered that  the pakage for apache authentication is no
> longer there.
> (may be they suggest to use PAM instead)
> This is really a problem for me for i use it in many sites!
>
> I tried to use old module (for version 6.5 of db) does not work!
>
> Does anybody knows where can i found a module for apache
> authentication with postgresql 7.1?
> Does it work recompiling old module with new libraries?
>
> thanks in advance ...
>
>
>--
>
>    Giorgio
>
>-----------------------------------------
>
>



--
-------------------------------------------------------
Giuseppe Tanzilli        g.tanzilli@gruppocsf.com
CSF Sistemi srl            phone ++39 0775 7771
Via del Ciavattino
Anagni FR
Italy





Re: Apache authentication

От
wsheldah@lexmark.com
Дата:

How were you authenticating before?  There are LOTS of Apache modules for
authentication, such as mod_auth_ldap, mod_auth_dbi, mod_auth_cookies, etc.  It
would help to know exactly what you were using.

This also sounds like it may be more a problem with the new apache configuration
than with postgresql.

HTH,

Wes Sheldahl




Giorgio Volpe <giorgio.volpe%gtngroup.it@interlock.lexmark.com> on 08/27/2001
04:29:09 AM

To:   pgsql-general%postgresql.org@interlock.lexmark.com
cc:    (bcc: Wesley Sheldahl/Lex/Lexmark)
Subject:  [GENERAL] Apache authentication


I have a problem with apache authentication.
I recently upgrade to postgresql v7.1, upgrading debian distribution (to woody,
testing distribution)
and i discovered that  the pakage for apache authentication is no longer there.
(may be they suggest to use PAM instead)
This is really a problem for me for i use it in many sites!

I tried to use old module (for version 6.5 of db) does not work!

Does anybody knows where can i found a module for apache authentication with
postgresql 7.1?
Does it work recompiling old module with new libraries?

thanks in advance ...


--

    Giorgio

-----------------------------------------







Re: Apache authentication

От
Justin Clift
Дата:
Hi Giorgio,

You might find mod_auth_pgsql useful :

http://www.giuseppetanzilli.it/mod_auth_pgsql/

Regards and best wishes,

Justin Clift


wsheldah@lexmark.com wrote:
>
> How were you authenticating before?  There are LOTS of Apache modules for
> authentication, such as mod_auth_ldap, mod_auth_dbi, mod_auth_cookies, etc.  It
> would help to know exactly what you were using.
>
> This also sounds like it may be more a problem with the new apache configuration
> than with postgresql.
>
> HTH,
>
> Wes Sheldahl
>
> Giorgio Volpe <giorgio.volpe%gtngroup.it@interlock.lexmark.com> on 08/27/2001
> 04:29:09 AM
>
> To:   pgsql-general%postgresql.org@interlock.lexmark.com
> cc:    (bcc: Wesley Sheldahl/Lex/Lexmark)
> Subject:  [GENERAL] Apache authentication
>
> I have a problem with apache authentication.
> I recently upgrade to postgresql v7.1, upgrading debian distribution (to woody,
> testing distribution)
> and i discovered that  the pakage for apache authentication is no longer there.
> (may be they suggest to use PAM instead)
> This is really a problem for me for i use it in many sites!
>
> I tried to use old module (for version 6.5 of db) does not work!
>
> Does anybody knows where can i found a module for apache authentication with
> postgresql 7.1?
> Does it work recompiling old module with new libraries?
>
> thanks in advance ...
>
> --
>
>     Giorgio
>
> -----------------------------------------
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Re: Apache authentication

От
Giorgio Volpe
Дата:
Thanks all who replied me ... i suceed compiling the module from the site
above and all is ok!
If someone else needs it, I did it so:

I only need same little change on the INSTALL istruction to fit debian
conventiones ...
I used apxs and exec ONLY the following instruction ...

- install debina modules : postgresql-dev, apache-dev libdb3-dev (for
headers ... and required libraries)
- exec: ./configure --with-apxs=/usr/bin/apxs
--with-pgsql=/usr/include/postgresql
- compile the module with: apxs -I/usr/include/postgresql/include
-L/usr/lib -lpq -o mod_auth_pgsql.so -c mod_auth_pgsql.c
auth_pgsql_shared_stub.c
- insatll the module using: apxs -i -a -n auth_pgsql mod_auth_pgsql.so


Giuseppe Tanzilli - CSF wrote:

> Ciao,
> try mod_auth_pgsql   at http://www.giuseppetanzilli.t/mod_auth_pgsql/
>
> bye
>
> Giorgio Volpe wrote:
>
> > I have a problem with apache authentication.
> > I recently upgrade to postgresql v7.1, upgrading debian distribution
> > (to woody, testing distribution)
> > and i discovered that  the pakage for apache authentication is no
> > longer there.
> > (may be they suggest to use PAM instead)
> > This is really a problem for me for i use it in many sites!
> >
> > I tried to use old module (for version 6.5 of db) does not work!
> >
> > Does anybody knows where can i found a module for apache
> > authentication with postgresql 7.1?
> > Does it work recompiling old module with new libraries?
> >
> > thanks in advance ...
> >
> >
> >--
> >
> >    Giorgio
> >
> >-----------------------------------------
> >
> >
>
> --
> -------------------------------------------------------
> Giuseppe Tanzilli               g.tanzilli@gruppocsf.com
> CSF Sistemi srl                 phone ++39 0775 7771
> Via del Ciavattino
> Anagni FR
> Italy
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl

--

    Giorgio

-----------------------------------------