From owner-freebsd-net Tue Dec 24 22:36:11 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7355E37B401 for ; Tue, 24 Dec 2002 22:36:09 -0800 (PST) Received: from jawa.at (inforum.at [213.229.17.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1C5D43EC5 for ; Tue, 24 Dec 2002 22:36:02 -0800 (PST) (envelope-from mbretter@jawa.at) Received: from jawa.at (babsi.jawa.at [192.168.201.12]) by jawa.at (8.12.6/8.12.6) with ESMTP id gBP6Zi7K011857; Wed, 25 Dec 2002 07:35:44 +0100 (CET) (envelope-from mbretter@jawa.at) Message-ID: <3E0950EE.7080409@jawa.at> Date: Wed, 25 Dec 2002 07:32:14 +0100 From: Michael Bretterklieber User-Agent: Mozilla/5.0 (X11; U; Linux i386; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Vadim A. Shklyaev" Cc: Archie Cobbs , freebsd-net@FreeBSD.ORG Subject: Re: mpd-3.10 and MySQL References: <200212240116.gBO1GBb2038297@arch20m.dellroad.org> <10515631078.20021224111201@front.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-1.8 required=5.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.43 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, http://www.freeradius.org/features.html the freeradius server supports many authentication methods including MySQL. bye, Vadim A. Shklyaev wrote: >Здравствуйте, Archie. > >Вы писали 24 декабря 2002 г., 4:16:10: > >AC> Vadim A. Shklyaev wrote: > > >>> Some time back we have faced necessity of mass >>> authorization of our VPN-clients which were connected to our server >>> using mpd, through a MySQL-database. Thus I have made patch for >>> mpd-3.10 for the built-in support mysql authorizations. >>> >>> May be code is not very clean and well styled, but it works! It >>> works on our servers for about 3 or 4 weeks without problems, so I >>> decided to send it here, to hear what guru thinks about that, and >>> also someone else can will find this thing useful to itself. >>> >>> >AC> Interesting! > >AC> FYI, the next version of mpd will contain support for RADIUS. >AC> Does your MySQL server also have RADIUS gateway? > Unfortunality, it is not. All client authentification in other > places (web-interface and mail) is done directly via mysql. It's > suitable for us to use RADIUS for that things. > > One more question, some time back a man, who had made a RADIUS > patch asked you, whether can he hook directly in AuthGetData in > auth.c, and you answered that that would be incorrect. I > wondering, why? As you can see, I have rewritten every place, > where AuthGetData is called, but IMHO it would be easier to modify > just auth.c. What is right? > > > -- ------------------------------- ---------------------------------- Michael Bretterklieber - Michael.Bretterklieber@jawa.at JAWA Management Software GmbH - http://www.jawa.at Liebenauer Hauptstr. 200 -------------- privat ------------ A-8041 GRAZ GSM: ++43-(0)676-93 96 698 Tel: ++43-(0)316-403274-12 E-mail: mbretter@inode.at Fax: ++43-(0)316-403274-10 http://www.bretterklieber.com ------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message