22 Apr
2017
22 Apr
'17
6:09 p.m.
I ran Apt-get install freeradius-rest and solved the problem. Module got installed. Now working on the actual API. On Apr 22, 2017 11:48 PM, "Alan Buxey" <alan.buxey@gmail.com> wrote: > How was this server installed (freeradius) from source? If so then when you > run ./configure stage check for any WARNING outputs to ensure you have > required libraries present. If they aren't present then the modules aren't > built > > > Alan > > On 22 Apr 2017 8:33 pm, "chibwe kapambwe" <bwexcyk@gmail.com> wrote: > > > rlm_rest.so is missing, have just checked. what should i do? > > > > On Sat, Apr 22, 2017 at 9:09 PM, chibwe kapambwe <bwexcyk@gmail.com> > > wrote: > > > > > Hello Alan > > > > > > Just to test my rest functionality on my freeradius server, i put a > rest > > > config file in mods-enabled, and am getting this error " > > > /etc/freeradius/3.0/mods-enabled/rest[1]: Failed to link to module > > > 'rlm_rest': /usr/lib/freeradius/rlm_rest.so: cannot open shared object > > > file: No such file or directory " in my debug. what am i missing? > > > > > > On Sat, Apr 22, 2017 at 10:53 AM, Alan Buxey <alan.buxey@gmail.com> > > wrote: > > > > > >> Hi > > >> > > >> ALL at github > > >> > > >> https://github.com/FreeRADIUS/freeradius-server/tree/v4.0.x/ > > >> src/modules/rlm_rest > > >> > > >> > > >> :) > > >> > > >> > > >> On 22 Apr 2017 6:16 pm, "chibwe kapambwe" <bwexcyk@gmail.com> wrote: > > >> > > >> > Alan were is the demo server? > > >> > > > >> > On Sat, Apr 22, 2017 at 11:54 AM, Alan Buxey <alan.buxey@gmail.com> > > >> wrote: > > >> > > > >> > > why are you working/setting up such a hideously old version of > > Ubuntu? > > >> > all > > >> > > your libraries and toolsets are old - luckily > > >> > > the EOL for even the longest of LTS is next week! ;-) > > >> > > > > >> > > regarding the rest module - all the docs are in the module config > > >> (which > > >> > > can be read eg here > > >> > > https://github.com/FreeRADIUS/freeradius-server/blob/v4.0.x/ > > >> > > raddb/mods-available/rest > > >> > > ) > > >> > > > > >> > > if you use the rest module, simply list it in the required place > in > > >> your > > >> > > virtual server config file - eg in authorize , > > >> > > the module will then call its 'authorize' section - which, as you > > can > > >> > see > > >> > > in the module config , is a simple > > >> > > GET by default.... which includes the various things you want to > > send > > >> to > > >> > > your web server.... your server then responds > > >> > > with the required code - all documented in the config. if you > want > > >> > secure > > >> > > connection to your server then configure TLS as required. > > >> > > > > >> > > finally, there is a demo server, written in PERL to help you > along. > > >> if > > >> > > you want to provide a similar basic demo in PHP for the project > > >> > > then please do so :) > > >> > > > > >> > > alan > > >> > > > > >> > > On 22 April 2017 at 07:29, chibwe kapambwe <bwexcyk@gmail.com> > > wrote: > > >> > > > > >> > > > Am a new ubuntu and freeradius user. Have setup freeradius on > > ubuntu > > >> > 12, > > >> > > > currently working fine with mysql db. I would like freeradius to > > >> work > > >> > > with > > >> > > > a php REST API, so that a custom sql schema from the php > > >> application is > > >> > > > used instead of the freeradius one. > > >> > > > > > >> > > > How can this be done? How do I setup the rlm_rest module to work > > >> work > > >> > > with > > >> > > > a php REST API. If anyone could provide me with a step by step > > >> > > instructions > > >> > > > I will be more than glad. > > >> > > > - > > >> > > > List info/subscribe/unsubscribe? See http://www.freeradius.org/ > > >> > > > list/users.html > > >> > > - > > >> > > List info/subscribe/unsubscribe? See http://www.freeradius.org/ > > >> > > list/users.html > > >> > - > > >> > List info/subscribe/unsubscribe? See http://www.freeradius.org/ > > >> > list/users.html > > >> - > > >> List info/subscribe/unsubscribe? See http://www.freeradius.org/list > > >> /users.html > > >> > > > > > > > > - > > List info/subscribe/unsubscribe? See http://www.freeradius.org/ > > list/users.html > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/ > list/users.html