Re: mpd + RADIUS

2003-06-16 Thread Michael Bretterklieber
Hi, On Sat, 14 Jun 2003, Ilia E. Chipitsine wrote: > Dear Sirs, > > I've configured RADIUS (gnu-radius), and it works as I can see by > "radauth" command. However, it doesn't work with mpd. > > anybody already running mpd+gnu-radius ? > can you please provide more info (mpd.conf, mpd-log etc.) by

mpd + RADIUS

2003-06-13 Thread Ilia E. Chipitsine
Dear Sirs, I've configured RADIUS (gnu-radius), and it works as I can see by "radauth" command. However, it doesn't work with mpd. anybody already running mpd+gnu-radius ? Thanks! Ilia Chipitsine ___ [EMAIL PROTECTED] mailing list http://lists.freebsd

Re: [mpd] radius and dynamic bundles

2003-03-06 Thread Michael Bretterklieber
Hi, Vincent Jardin wrote: It does not look to be simple because the whole PAP and CHAP authentication are processed by PapInput() and ChapInput() that call RadiusPAPAuthenticate() and RadiusCHAPAuthenticate(). It is a synchronous call. In order to use rad_init_send_request() and rad_continue_s

Re: [mpd] radius and dynamic bundles

2003-03-03 Thread Michael Bretterklieber
Hi, Vincent Jardin wrote: On Monday 03 March 2003 09:46, Michael Bretterklieber wrote: Hi, Vincent Jardin schrieb: 1/ When Radius is used with mpd and the answer delay of the Radius server is high, how can some PAP or CHAP timeout be avoided ? you mean, that the client times out during authenti

Re: [mpd] radius and dynamic bundles

2003-03-03 Thread Vincent Jardin
On Monday 03 March 2003 09:46, Michael Bretterklieber wrote: > Hi, > > Vincent Jardin schrieb: > > 1/ When Radius is used with mpd and the answer delay of the Radius server > > is high, how can some PAP or CHAP timeout be avoided ? > > you mean, that the client times out during authentication sayin

Re: [mpd] radius and dynamic bundles

2003-03-03 Thread Gleb Smirnoff
On Sun, Mar 02, 2003 at 11:47:10PM +0100, Vincent Jardin wrote: V> 2/ mpd provides a command to create a bundle (new [-i ngX] ...), however there V> is no command in order to remove the bundles. Have you ever tried to add this V> feature ? This feature is really needed. My current mpd configur

Re: [mpd] radius and dynamic bundles

2003-03-03 Thread Gea-Suan Lin
I find the function rad_send_request() in /usr/src/lib/libradius/libradius.c will break the stack so that mpd gets segfault in FreeBSD 4.7-RELEASE-p3, but I can't figure out where it does. If somebody want the core file, I can mail him. I copied rad_send_request() into mpd's radius.c last week, a

Re: [mpd] radius and dynamic bundles

2003-03-03 Thread Michael Bretterklieber
Hi, Vincent Jardin schrieb: 1/ When Radius is used with mpd and the answer delay of the Radius server is high, how can some PAP or CHAP timeout be avoided ? you mean, that the client times out during authentication saying that the server didn't responded? A known issue is that mpd is blocked d

[mpd] radius and dynamic bundles

2003-03-02 Thread Vincent Jardin
1/ When Radius is used with mpd and the answer delay of the Radius server is high, how can some PAP or CHAP timeout be avoided ? 2/ mpd provides a command to create a bundle (new [-i ngX] ...), however there is no command in order to remove the bundles. Have you ever tried to add this feature ?

Re: mpd radius - request for review

2002-11-03 Thread Vincent Jardin
Hi, I have not tested your code yet. However, according to me the radius code should be into link.c and not bund.c For example, it is important in order to support the accounting of the multilink ppp sessions, isn'it ? Vincent Le Dimanche 3 Novembre 2002 15:34, Michael Bretterklieber a écrit :

mpd radius - request for review

2002-11-03 Thread Michael Bretterklieber
Hi, now I finished the work for radius-mpd-integration. It would be great if my code will be reviewed and integrated into "official" mpd. If there are any bugs or dirty hacks in my code, then let me know. I tested the code successfuly against freeradius and Microsoft Radius (Windows 2000). All

Re: mpd - Radius

2002-10-17 Thread Archie Cobbs
Michael Bretterklieber writes: > But I think it will better to have something like this in the mpd.conf: > - gobal switch to enable radius support. > - switches for the different layers (link, bundle) where radius can be > used (because Radius can more the Authentication) That makes sense :-) -A

Re: mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, Archie Cobbs schrieb: > Michael Bretterklieber writes: > >>Now I got pap-radius-auth with mpd to work :-) > > > Cool! > > You may want to contact Brendan Bank <[EMAIL PROTECTED]> because he's > also working on mpd+RADIUS. > > It would be ni

Re: mpd - Radius

2002-10-16 Thread Archie Cobbs
Michael Bretterklieber writes: > Now I got pap-radius-auth with mpd to work :-) Cool! You may want to contact Brendan Bank <[EMAIL PROTECTED]> because he's also working on mpd+RADIUS. It would be nice if you two could coordinate and maybe review each other's code... >

Re: mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, mpd - basic radius (pap only) support now finished, see attachements. two new files: radius.h radius.c four modified files: Makefile bund.h bund.c pap.c (I hope I got all changes files) You can activate radius by adding this config-param: set bundle radius /etc/radius.conf you have to re

Re: mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, Now I got pap-radius-auth with mpd to work :-) I made it now with a static define. The next step will be to add the appropriate config-param for mpd.conf. Are there any hints, a small howto would be great? Something like: - naming conventions of param - where to add param - how to access p

Re: mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, Julian Elischer wrote: >On Wed, 16 Oct 2002, Michael Bretterklieber wrote: > > > >>Hi, >> >>I'm now evaluating if its difficult to extend mpd with radius >>authentication (with libradius). >>I have some questions: >> >>1. Will be in auth.c the function AuthGetData() the right place to put

Re: mpd - Radius

2002-10-16 Thread Julian Elischer
On Wed, 16 Oct 2002, Michael Bretterklieber wrote: > Hi, > > I'm now evaluating if its difficult to extend mpd with radius > authentication (with libradius). > I have some questions: > > 1. Will be in auth.c the function AuthGetData() the right place to put > Radius stuff? > 2. What was the

mpd - Radius

2002-10-16 Thread Michael Bretterklieber
Hi, I'm now evaluating if its difficult to extend mpd with radius authentication (with libradius). I have some questions: 1. Will be in auth.c the function AuthGetData() the right place to put Radius stuff? 2. What was the intention behind the function CustomAuthData()? 3. How should radius co