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 remove the comment in the Makefile from RADIUS_AUTH=yes. bye, Michael Bretterklieber wrote: > 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 param > > bye, > > 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 Radius stuff? >>> 2. What was the intention behind the function CustomAuthData()? >>> >> >> >> mpd was written for use in the InterJet, which had >> a separate database controlling "everything". >> you could hook in to that database using that (from memory) >> Archie wil answer I'm sure and give more info.. >> also check how 'ppp' does it's radius stuff. >> >> >> >> >> >>> 3. How should radius configured in the mpd.conf, is something like: >>> set bundle radius /etc/radius.conf ok? >>> >>> bye, >>> >>> -- >>> -- >>> -------------------------------------- E-mail: >>> [EMAIL PROTECTED] ---------------------------- JAWA >>> Management Software GmbH >>> Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: >>> ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: >>> http://www.jawa.at --------- privat ----------- >>> E-mail: [EMAIL PROTECTED] >>> homepage: http://www.inode.at/mbretter >>> -------------------------------------- >>> >>> >>> >>> >>> To Unsubscribe: send mail to [EMAIL PROTECTED] >>> with "unsubscribe freebsd-net" in the body of the message >>> >>> >> >> >> >> >> >> > -- -- -------------------------------------- E-mail: [EMAIL PROTECTED] ---------------------------- JAWA Management Software GmbH Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: http://www.jawa.at --------- privat ----------- E-mail: [EMAIL PROTECTED] homepage: http://www.inode.at/mbretter --------------------------------------
mpd_radius.tar.gz
Description: application/gzip