radcheck problem

YvesDM ydmlog at gmail.com
Sat Sep 8 08:29:03 CEST 2007


On 9/7/07, YvesDM <ydmlog at gmail.com> wrote:
>
> Hi,
>
> I want a specific user (call him john) NOT to be able to login through a
> specific nas.
> So I thought, just add this to radcheck
>
> INSERT INTO `radcheck` (`UserName`, `Attribute`, `op`, `Value`) VALUES
> ('john','NASIdentifier','!=','nas-id')
>
> (nas-id is the nasidentifier of the specific nas)
>
> Anyway, when I add this entry to radcheck, john gets rejected all the
> time, no matter what nas he's connecting to.
> Am I overlooking something?



Never mind, problem solved, forgot the - in NAS-Identifier :-)
INSERT INTO `radcheck` (`UserName`, `Attribute`, `op`, `Value`) VALUES
('john','NAS-Identifier','!=','nas-id')

Kind regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070908/02c19328/attachment.html>


More information about the Freeradius-Users mailing list