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.
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-avail... ) 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
Thank you Alan for your response. Now were can i find the rest module config file, in which directory is it? 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
Hello guys I can not find this raddb/mods-available/ directory. On Sat, Apr 22, 2017 at 1:39 PM, Matthew Newton < matthew@newtoncomputing.co.uk> wrote:
On Sat, Apr 22, 2017 at 12:17:48PM +0200, chibwe kapambwe wrote:
Thank you Alan for your response. Now were can i find the rest module config file, in which directory is it?
Same directory as all the other module configurations.
raddb/mods-available/
-- Matthew - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
use version 3 of the server, version 2.x are not supported. On 22 April 2017 at 13:26, Matthew Newton <matthew@newtoncomputing.co.uk> wrote:
On 22 April 2017 13:21:37 BST, chibwe kapambwe <bwexcyk@gmail.com> wrote:
I can not find this raddb/mods-available/ directory.
Then you're using an obsolete version of the server. Upgrade to version 3.0.13 and it will be there.
-- Matthew
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
Am having issues installing version 3, "The following packages have unmet dependencies", that the error am getting and these dependencies are alot. am using ubuntu 16.04. On Sat, Apr 22, 2017 at 5:32 PM, Alan Buxey <alan.buxey@gmail.com> wrote:
use version 3 of the server, version 2.x are not supported.
On 22 April 2017 at 13:26, Matthew Newton <matthew@newtoncomputing.co.uk> wrote:
On 22 April 2017 13:21:37 BST, chibwe kapambwe <bwexcyk@gmail.com> wrote:
I can not find this raddb/mods-available/ directory.
Then you're using an obsolete version of the server. Upgrade to version 3.0.13 and it will be there.
-- Matthew
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
In Ubuntu 17.0.4 am getting this error "couldnt find any package by regex 3.0.13 " On Sat, Apr 22, 2017 at 5:36 PM, chibwe kapambwe <bwexcyk@gmail.com> wrote:
Am having issues installing version 3, "The following packages have unmet dependencies", that the error am getting and these dependencies are alot. am using ubuntu 16.04.
On Sat, Apr 22, 2017 at 5:32 PM, Alan Buxey <alan.buxey@gmail.com> wrote:
use version 3 of the server, version 2.x are not supported.
On 22 April 2017 at 13:26, Matthew Newton <matthew@newtoncomputing.co.uk> wrote:
On 22 April 2017 13:21:37 BST, chibwe kapambwe <bwexcyk@gmail.com> wrote:
I can not find this raddb/mods-available/ directory.
Then you're using an obsolete version of the server. Upgrade to version 3.0.13 and it will be there.
-- Matthew
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list /users.html
On 22 April 2017 16:40:14 BST, chibwe kapambwe <bwexcyk@gmail.com> wrote:
In Ubuntu 17.0.4 am getting this error "couldnt find any package by regex 3.0.13 "
It's not in the distribution repositories, they are years out of date. See http://wiki.freeradius.org/building/Debian%20and%20Ubuntu for full instructions. -- Matthew
I have managed to install on ubuntu 17.04. instead of typing freeradius 3.0.13, i entered 3.0.3 and it has worked. finally i can see the rest config. Thank you so much for all the help guys. Now let me dive into these rest configs. On Sat, Apr 22, 2017 at 5:47 PM, Matthew Newton < matthew@newtoncomputing.co.uk> wrote:
On 22 April 2017 16:40:14 BST, chibwe kapambwe <bwexcyk@gmail.com> wrote:
In Ubuntu 17.0.4 am getting this error "couldnt find any package by regex 3.0.13 "
It's not in the distribution repositories, they are years out of date.
See http://wiki.freeradius.org/building/Debian%20and%20Ubuntu for full instructions.
-- Matthew
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
well, 3.0.3 isnt that up to date but at least you are getting up to the modern world. i would suggest you get another ubuntu 17 box/VM up and running and then simply build your own package....something like this https://wiki.freeradius.org/building/Debian-and-Ubuntu then grab those nice packages and put them onto your production server. et voila, up to date with ALL the latest fixes/features. (and doing this method you are just one hop away from just using a Docker FreeRADIUS instance ;-) ) alan On 22 April 2017 at 16:55, chibwe kapambwe <bwexcyk@gmail.com> wrote:
I have managed to install on ubuntu 17.04. instead of typing freeradius 3.0.13, i entered 3.0.3 and it has worked. finally i can see the rest config. Thank you so much for all the help guys. Now let me dive into these rest configs.
On Sat, Apr 22, 2017 at 5:47 PM, Matthew Newton < matthew@newtoncomputing.co.uk> wrote:
On 22 April 2017 16:40:14 BST, chibwe kapambwe <bwexcyk@gmail.com> wrote:
In Ubuntu 17.0.4 am getting this error "couldnt find any package by regex 3.0.13 "
It's not in the distribution repositories, they are years out of date.
See http://wiki.freeradius.org/building/Debian%20and%20Ubuntu for full instructions.
-- Matthew
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
lol Alan i hear you, i will setup another vm and try to build my own like you have suggested. But first let me see if this REST stuff will work. On Sat, Apr 22, 2017 at 6:01 PM, Alan Buxey <alan.buxey@gmail.com> wrote:
well, 3.0.3 isnt that up to date but at least you are getting up to the modern world.
i would suggest you get another ubuntu 17 box/VM up and running and then simply build your own package....something like this
https://wiki.freeradius.org/building/Debian-and-Ubuntu
then grab those nice packages and put them onto your production server. et voila, up to date with ALL the latest fixes/features. (and doing this method you are just one hop away from just using a Docker FreeRADIUS instance ;-) )
alan
On 22 April 2017 at 16:55, chibwe kapambwe <bwexcyk@gmail.com> wrote:
I have managed to install on ubuntu 17.04. instead of typing freeradius 3.0.13, i entered 3.0.3 and it has worked. finally i can see the rest config. Thank you so much for all the help guys. Now let me dive into these rest configs.
On Sat, Apr 22, 2017 at 5:47 PM, Matthew Newton < matthew@newtoncomputing.co.uk> wrote:
On 22 April 2017 16:40:14 BST, chibwe kapambwe <bwexcyk@gmail.com> wrote:
In Ubuntu 17.0.4 am getting this error "couldnt find any package by regex 3.0.13 "
It's not in the distribution repositories, they are years out of date.
See http://wiki.freeradius.org/building/Debian%20and%20Ubuntu for full instructions.
-- Matthew
- 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
On Sat, Apr 22, 2017 at 06:05:18PM +0200, chibwe kapambwe wrote:
lol Alan i hear you, i will setup another vm and try to build my own like you have suggested. But first let me see if this REST stuff will work.
*Loads* of bugs have been fixed since 3.0.3. Don't waste your time, go up to 3.0.13 first. -- Matthew
let me jump on that now. On Sat, Apr 22, 2017 at 6:23 PM, Matthew Newton < matthew@newtoncomputing.co.uk> wrote:
On Sat, Apr 22, 2017 at 06:05:18PM +0200, chibwe kapambwe wrote:
lol Alan i hear you, i will setup another vm and try to build my own like you have suggested. But first let me see if this REST stuff will work.
*Loads* of bugs have been fixed since 3.0.3. Don't waste your time, go up to 3.0.13 first.
-- Matthew - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
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
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
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 >
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 >> > >
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
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
participants (3)
-
Alan Buxey -
chibwe kapambwe -
Matthew Newton