<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>On Dec 27, 2007 3:28 PM, Jeff Crowe <<A
href="mailto:listacct@genhex.net">listacct@genhex.net</A>> wrote:<BR>
<DIV class=gmail_quote>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi
all,<BR><BR>I am trying to deny a user from logging in through a couple of
nas I have on<BR>my network. I am using freeradius 1.1.3 with
mysql.<BR><BR>In my table radgroupcheck, I have added<BR><BR>Groupname
Attribute Op Value <BR>Dial-Up
NAS-IP-Address != <A href="http://1.1.1.1"
target=_blank>1.1.1.1</A><BR>Dial-Up NAS-IP-Address != <A
href="http://2.2.2.2" target=_blank>2.2.2.2</A><BR><BR>The SQL check always
seems to return the last value of <A href="http://2.2.2.2"
target=_blank>2.2.2.2</A> and never<BR>compare against the <A
href="http://1.1.1.1" target=_blank>1.1.1.1</A>. If my user is
connecting to <A href="http://1.1.1.1" target=_blank>1.1.1.1</A> , they
will<BR>authenticate and be allowed online.<BR><BR>Can someone please point
me in the correct direction to allow me to define<BR>multiple nas servers
that I can deny authentication from?<BR><BR>Thanks and happy holidays
<BR><BR>Jeff<BR></BLOCKQUOTE>
<DIV><BR> </DIV>
<DIV><BR>Try to add it like this: <BR>Dial-Up NAS-IP-Address !~
(1.1.1.1|2.2.2.2)</DIV></DIV>
<DIV><BR>Kind regards<BR>Y.</DIV>
<DIV><SPAN class=657322317-27122007><SPAN class=671292217-27122007><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV></BLOCKQUOTE>
<DIV><SPAN class=657322317-27122007><SPAN class=671292217-27122007><FONT
face=Arial size=2>Hi Yves,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671292217-27122007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671292217-27122007><FONT face=Arial
size=2>thank you very much - it works perfectly.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671292217-27122007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671292217-27122007><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671292217-27122007><FONT face=Arial
size=2>Jeff.</FONT></SPAN></DIV></SPAN></BODY></HTML>