On Tue, Oct 30, 2012 at 02:40:35PM +0100, Oliver Werner wrote:
> I would configure my Switch-Ports Mac-Based. When a Computer
> wired a Perl-Script should check the Username and gives VLAN
> back.

You can probably do this without a perl script, however -

> exec {
>         wait = yes
>         program = "/usr/bin/perl /usr/local/test.pl %{User-Name}"
>         input_pairs = request
>         output = reply

  output = config

Currently you're trying to send the cleartext password back to the
NAS...

Matthew


-- 
Matthew Newton, Ph.D. <[email protected]>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <[email protected]>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to