Deutsch English Français Italiano |
<ucnk0i$259bg$1@news.trigofacile.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr!not-for-mail From: =?UTF-8?Q?Julien_=c3=89LIE?= <iulius@nom-de-mon-site.com.invalid> Newsgroups: fr.comp.usenet.serveurs Subject: Re: INN2 authentification Date: Wed, 30 Aug 2023 16:33:54 +0200 Organization: Groupes francophones par TrigoFACILE Message-ID: <ucnk0i$259bg$1@news.trigofacile.com> References: <ubq9ib$frq$1@shakotay.alphanet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 30 Aug 2023 14:33:54 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="2270576"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cancel-Lock: sha1:RyxNG/K81b0g70xPYVK86S+Efzg= sha256:Gv5pXJExWhsx+AxZecRYJ6/n7AT1pNJdGgZTTtWQsyw= sha1:sFXTrFRur4PVEPCt5n9vpykmYpo= sha256:GrC28c2x1+UHwXa7+ClS6ybFVk51sp7x+j2wFhzdwMk= In-Reply-To: <ubq9ib$frq$1@shakotay.alphanet.ch> Bytes: 2135 Lines: 22 Bonjour Marc, > j'authentifie mes utilisateurs avec un script perl qui consulte une base > de données PostgreSQL. > > En fait, auparavant, j'utilisais un simple fichier texte format htpasswd > avec auth: "ckpasswd -f /var/lib/news/nnrp-remoteusers/passwd" que je > générais une fois par jour, mais pour rendre les choses plus > interactives et pour mieux confiner par utilisateur, j'interroge > directement la BD. > > C'est assez affreux question performance (2 forks par tentative de > connexion). As-tu essayé d'utiliser PAM pour l'authentification sur la base de données ? (ckpasswd appelé sans argument va utiliser PAM) -- Julien ÉLIE « Quand le dernier arbre aura été abattu, quand la dernière rivière aura été empoisonnée, quand le dernier poisson aura été pêché, alors on saura que l'argent ne se mange pas. » (Geronimo)