Hi Paulo,
yes, your "printf .." looks fine (although attribute 47 in your
copy-paste looks weird, as it's not ASCII).
You can check out
https://github.com/FreeRADIUS/freeradius-client/blob/master/etc/radiusclient.conf.in
for libfreeradius-client configuration directives. Multiple servers are
definitely possible, and radmavis(-mt) will accept a configuration file
in freeradius-client syntax, too.
Cheers,
Marc
> <
http://mavis_tacplus_radius.pl>
>
> # output from ./configure:
> Development files were found for: LIB-CRYPT, LIB-PAM, LIB-PCRE2,
> LIB-PTHREAD
>
> #
>
> Now I'm trying to prepare the .conf file to initiate some tests,
> but it's not accepting two radius servers:
>
> #=========================================================
>
> # vim /usr/local/etc/tac_conf/tac.conf
> ...
> # You can use either the Perl module ...
> mavis module = external {
> exec = /usr/local/lib/mavis/
mavis_tacplus_radius.pl
> <
http://mavis_tacplus_radius.pl>
> setenv RADIUS_HOST =
10.1.2.50:1812
> <
http://10.1.2.50:1812>,
10.1.2.35:1812 <
http://10.1.2.35:1812> #
> could add more devices here, comma-separated
> setenv RADIUS_SECRET = "N4E1V51!415G3Q566A5M"
> setenv RADIUS_GROUP_ATTR = Class
> setenv RADIUS_PASSWORD_ATTR = Password # defaults to:
> User-Password
> }
>
>
> # tac_plus-ng -P /usr/local/etc/tac_conf/tac.conf
>
> # You can use either the Perl module ...
> mavis module = external {
> exec = /usr/local/lib/mavis/
mavis_tacplus_radius.pl
> <
http://mavis_tacplus_radius.pl>
> setenv RADIUS_HOST =
10.1.2.50:1812 <
http://10.1.2.50:1812>,1
> /usr/local/etc/tac_conf/tac.conf:38: Expected 'action', 'childs',
> 'exec', 'groupid', 'home', 'script', 'setenv', 'userid' or '}',
> but got ','
> 19173: /usr/local/etc/tac_conf/tac.conf:38: Expected 'action',
> 'childs', 'exec', 'groupid', 'home', 'script', 'setenv', 'userid'
> or '}', but got ','
> 19173: Detected fatal configuration error. Exiting.
>
> #=========================================================
>
> What am I doing wrong? Could you give some suggestions?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Event-Driven Servers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
event-driven-ser...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/event-driven-servers/ee73e048-a722-4402-9757-dfcceb0a90aan%40googlegroups.com
> <
https://groups.google.com/d/msgid/event-driven-servers/ee73e048-a722-4402-9757-dfcceb0a90aan%40googlegroups.com?utm_medium=email&utm_source=footer>.