Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 23:32:01 +0930
From:      "Stavros Patiniotis" <sp@esc.net.au>
To:        <freebsd-questions@freebsd.org>
Subject:   authentication
Message-ID:  <002801c14693$d1591e60$3700000a@private.esc.net.au>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

Hello,

I am in the process of changing the way that several services on my network authenticate.  In particular, I want all services to by authenticated by way of my username and password system that I have implement using a database (mySQL). Basically, this means that POP, SMTP & FTP need to use this new password checking system.  I have radius using external perl scripts which queries the database to achieve authentication without issue.

Now I realise that PAM could be ideally suited to this.  What sort of load can PAM handle, in terms of auth and account type requests?  At an educated guess I have about 60 auth request per minute, but probably double this during peak periods.  I therfore need a solution that will scale from this, as its only going to get busier.

Where can I find information about PAM so I can adapt my perl script to be the method that the pam.conf file uses to authenticate a user. Am I reinveting the wheel? Any other suggestions?

(I realise perl probably isn't the answer for production, but I just want to test it!)

The software packages that I will use are Postfix, ProFtp, Cistron Radius, and Qpopper.  I currently have FreeBSD 4.1, but will be upgrading soon.


Thanks.

Stavros.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Hello,</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>I am in the process of changing the way that several 
services on my network authenticate.&nbsp; In particular, I want all services to 
by authenticated by way of my username and password system that I 
have&nbsp;implement using a database (mySQL). Basically, this means that POP, 
SMTP &amp;&nbsp;FTP need to use this new password checking system.&nbsp; I have 
radius using external perl scripts which queries the database to achieve 
authentication without issue.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Now I realise that PAM&nbsp;could be&nbsp;ideally suited 
to this.&nbsp; </FONT><FONT face=Arial>What sort of load can PAM handle, in 
terms of auth and account type requests?&nbsp; At an educated guess I have about 
60 auth request per minute, but probably double this during peak periods.&nbsp; 
I therfore need a solution that will scale from this, as its only going to get 
busier.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Where can I find information about PAM so I can adapt my 
perl script to be the method that the pam.conf file uses to authenticate a user. 
Am I reinveting the wheel? Any other suggestions?</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>(I realise perl probably isn't the answer for production, 
but I just want to test it!)</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>The software packages that I will use&nbsp;are Postfix, 
ProFtp, Cistron Radius, and Qpopper.&nbsp; I currently have FreeBSD 4.1, but 
will be upgrading soon.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Thanks.</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Stavros.</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c14693$d1591e60$3700000a>