Bonjour,
Problème résolu, j'ai une authentification Apache Postgresql si
appartenance à un ou plusieurs groupes.
Voici un exemple de fichier .htaccess
AuthName "My PostgreSQL Authenticator groupe charge"
AuthType basic
AuthBasicAuthoritative off
Auth_PG_authoritative on
Auth_PG_host localhost
Auth_PG_port 5432
Auth_PG_user xxxxxx
Auth_PG_pwd xxxxxxxx
Auth_PG_database xxxxxx
Auth_PG_pwd_table "users"
Auth_PG_uid_field user_name
Auth_PG_pwd_field user_passwd
Auth_PG_grp_table "groups"
#Auth_PG_gid_field user_group
Auth_PG_encrypted off
Auth_PG_grp_whereclause " and user_group = 'charge' "
<LIMIT GET POST>
require valid-user
</LIMIT>
A+
--
Pascal Brognez
http://www.unr-npdc.org/logiciels