From owner-freebsd-questions Wed Sep 26 7: 4:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bang.esc.net.au (bang.esc.net.au [203.25.185.2]) by hub.freebsd.org (Postfix) with ESMTP id 6291237B432 for ; Wed, 26 Sep 2001 07:04:22 -0700 (PDT) Received: from stavros (esc-sr.gw.esc.net.au [210.11.55.1]) by bang.esc.net.au (8.9.3/8.9.3) with SMTP id XAA77220 for ; Wed, 26 Sep 2001 23:33:58 +0930 (CST) Message-ID: <002801c14693$d1591e60$3700000a@private.esc.net.au> From: "Stavros Patiniotis" To: Subject: authentication Date: Wed, 26 Sep 2001 23:32:01 +0930 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0025_01C146E3.71738080" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0025_01C146E3.71738080 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. ------=_NextPart_000_0025_01C146E3.71738080 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Hello,
 
I am in the process of changing the way that = several=20 services on my network authenticate.  In particular, I want all = services to=20 by authenticated by way of my username and password system that I=20 have implement using a database (mySQL). Basically, this means that = POP,=20 SMTP & FTP need to use this new password checking system.  = I have=20 radius using external perl scripts which queries the database to achieve = authentication without issue.
 
Now I realise that PAM could = be ideally suited=20 to this.  What sort of load can PAM = handle, in=20 terms of auth and account type requests?  At an educated guess I = have about=20 60 auth request per minute, but probably double this during peak = periods. =20 I therfore need a solution that will scale from this, as its only going = to get=20 busier.
 
Where can I find information about PAM so I can = adapt my=20 perl script to be the method that the pam.conf file uses to authenticate = a user.=20 Am I reinveting the wheel? Any other suggestions?
 
(I realise perl probably isn't the answer for = production,=20 but I just want to test it!)
 
The software packages that I will use are = Postfix,=20 ProFtp, Cistron Radius, and Qpopper.  I currently have FreeBSD 4.1, = but=20 will be upgrading soon.
 
 
Thanks.
 
Stavros.
------=_NextPart_000_0025_01C146E3.71738080-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message