Instance on Files Module
Hello, I tried to configure two instances for the files modules but doesn’t seems to work.. files DSL { # Search for files in a subdirectory of mods-config which # matches this instance of the files module. moddir = ${modconfdir}/${.:instance} filename = ${moddir}/authorize instance=DSL usersfile = ${moddir}/authorize1 acctusersfile = ${moddir}/accounting preproxy_usersfile = ${moddir}/pre-proxy } files { # Search for files in a subdirectory of mods-config which # matches this instance of the files module. moddir = ${modconfdir}/${.:instance} filename = ${moddir}/authorize instance=dialup usersfile = ${moddir}/authorize2 acctusersfile = ${moddir}/accounting preproxy_usersfile = ${moddir}/pre-proxy } Looked on the website & docs but didn’t find any informations about that 😊
On May 3, 2019, at 12:09 PM, Nicolas Breuer <Nicolas.Breuer@belcenter.biz> wrote:=
I tried to configure two instances for the files modules but doesn’t seems to work..
"it doesn't work" has to be the most useless request for help ever on a mailing list. It's even in the FAQ on http://wiki.freeradius.org/
Looked on the website & docs but didn’t find any informations about that 😊
No. Alan DeKok.
Hi, So if i want to run two virtual servers , I need to combine the two users files in the same module with two includes. So virtually we cannot have two "same" usernames on the two servers. -----Message d'origine----- De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer=belcenter.biz@lists.freeradius.org> De la part de Alan DeKok Envoyé : vendredi 3 mai 2019 18:30 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : Re: Instance on Files Module On May 3, 2019, at 12:09 PM, Nicolas Breuer <Nicolas.Breuer@belcenter.biz> wrote:=
I tried to configure two instances for the files modules but doesn’t seems to work..
"it doesn't work" has to be the most useless request for help ever on a mailing list. It's even in the FAQ on http://wiki.freeradius.org/
Looked on the website & docs but didn’t find any informations about that 😊
No. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Fri, 2019-05-03 at 17:24 +0000, Nicolas Breuer wrote:
So if i want to run two virtual servers , I need to combine the two users files in the same module with two includes.
No
So virtually we cannot have two "same" usernames on the two servers.
No You create two instances of the files module, and call one from each virtual server. -- Matthew
It's what i tried to ask on the first mail. How can I create two instances on the files modules ? Thanks -----Message d'origine----- De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer=belcenter.biz@lists.freeradius.org> De la part de Matthew Newton Envoyé : vendredi 3 mai 2019 19:32 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : Re: Instance on Files Module On Fri, 2019-05-03 at 17:24 +0000, Nicolas Breuer wrote:
So if i want to run two virtual servers , I need to combine the two users files in the same module with two includes.
No
So virtually we cannot have two "same" usernames on the two servers.
No You create two instances of the files module, and call one from each virtual server. -- Matthew - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
https://freeradius.org/radiusd/man/unlang.html On Fri, May 3, 2019 at 2:35 PM Nicolas Breuer <Nicolas.Breuer@belcenter.biz> wrote:
It's what i tried to ask on the first mail. How can I create two instances on the files modules ?
Thanks
-----Message d'origine----- De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer= belcenter.biz@lists.freeradius.org> De la part de Matthew Newton Envoyé : vendredi 3 mai 2019 19:32 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : Re: Instance on Files Module
On Fri, 2019-05-03 at 17:24 +0000, Nicolas Breuer wrote:
So if i want to run two virtual servers , I need to combine the two users files in the same module with two includes.
No
So virtually we cannot have two "same" usernames on the two servers.
No
You create two instances of the files module, and call one from each virtual server.
-- 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
It's what i tried to ask on the first mail. How can I create two instances on the files modules ?
Thanks
-----Message d'origine----- De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer= belcenter.biz@lists.freeradius.org> De la part de Matthew Newton Envoyé : vendredi 3 mai 2019 19:32 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : Re: Instance on Files Module
On Fri, 2019-05-03 at 17:24 +0000, Nicolas Breuer wrote:
So if i want to run two virtual servers , I need to combine the two users files in the same module with two includes.
No
So virtually we cannot have two "same" usernames on the two servers.
No
You create two instances of the files module, and call one from each virtual server.
-- 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
I found that related to the instances but Alan said it's not working on files module. https://networkradius.com/doc/3.0.10/raddb/syntax/config_names.html -----Message d'origine----- De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer=belcenter.biz@lists.freeradius.org> De la part de Jorge Pereira Envoyé : vendredi 3 mai 2019 19:49 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : Re: Instance on Files Module https://freeradius.org/radiusd/man/unlang.html On Fri, May 3, 2019 at 2:35 PM Nicolas Breuer <Nicolas.Breuer@belcenter.biz> wrote: - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
It's what i tried to ask on the first mail. How can I create two instances on the files modules ?
Thanks
-----Message d'origine----- De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer= belcenter.biz@lists.freeradius.org> De la part de Matthew Newton Envoyé : vendredi 3 mai 2019 19:32 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : Re: Instance on Files Module
On Fri, 2019-05-03 at 17:24 +0000, Nicolas Breuer wrote:
So if i want to run two virtual servers , I need to combine the two users files in the same module with two includes.
No
So virtually we cannot have two "same" usernames on the two servers.
No
You create two instances of the files module, and call one from each virtual server.
-- 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
I found this excellent post from Matthew describing how creating multiple users files for virtual servers. http://freeradius.1045715.n5.nabble.com/Different-authorize-files-for-virtua... Thanks -----Message d'origine----- De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer=belcenter.biz@lists.freeradius.org> De la part de Nicolas Breuer Envoyé : vendredi 3 mai 2019 19:58 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : RE: Instance on Files Module I found that related to the instances but Alan said it's not working on files module. https://networkradius.com/doc/3.0.10/raddb/syntax/config_names.html -----Message d'origine----- De : Freeradius-Users <freeradius-users-bounces+nicolas.breuer=belcenter.biz@lists.freeradius.org> De la part de Jorge Pereira Envoyé : vendredi 3 mai 2019 19:49 À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Objet : Re: Instance on Files Module https://freeradius.org/radiusd/man/unlang.html On Fri, May 3, 2019 at 2:35 PM Nicolas Breuer <Nicolas.Breuer@belcenter.biz> wrote: - 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 (4)
-
Alan DeKok -
Jorge Pereira -
Matthew Newton -
Nicolas Breuer