Date: Tue, 24 Dec 2002 11:12:01 +0300 From: "Vadim A. Shklyaev" <lexxmail@front.ru> To: Archie Cobbs <archie@dellroad.org> Cc: freebsd-net@freebsd.org Subject: Re[2]: mpd-3.10 and MySQL Message-ID: <10515631078.20021224111201@front.ru> In-Reply-To: <200212240116.gBO1GBb2038297@arch20m.dellroad.org> References: <200212240116.gBO1GBb2038297@arch20m.dellroad.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Здравствуйте, 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?
--
С уважением,
Vadim mailto:lexxmail@front.ru
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10515631078.20021224111201>
