<br><br><div class="gmail_quote">On Sat, Aug 7, 2010 at 4:59 PM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
tyllerd wrote:<br>
> What is "/^baduser/i" ?<br>
<br>
It's a regular expression. See the Perl documentation for more<br>
information.<br>
<div class="im"><br>
> I am wanting to use the perl module with freeradius, but I am still learning<br>
> Perl and I currently have that (the <a href="http://example.pl" target="_blank">example.pl</a>) file running and have<br>
> replaced baduser with test.<br>
</div>...<br>
<div class="im">> However I can still login with test. I just would like to know should it be<br>
> "test", 'test'.. I have tried those and they also do not work, so maybe it<br>
> is something else. Thank you if anyone can help.<br>
<br>
</div> (1) Run the server in debugging mode to see what it's doing<br>
<br>
(2) Learn Perl. This isn't the list to teach you about Perl,<br>
unfortunately.<br>
<font color="#888888"><br>
Alan DeKok.<br>
</font><div><div></div><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br>Thanks for the response. I didn't expect you guys to teach me anything, I just needed a working base from which I can modify to my needs.<br><br>I see know that it was my fault (obviously it was going to be). I am using sql, and not the users file as the guide (<a href="http://wiki.freeradius.org/Rlm_perl">http://wiki.freeradius.org/Rlm_perl</a>) suggests. I added Auth-Type attribute into the table and I know cannot login with the user baduser.<br>
So radcheck used to look like this<br><br>+------+----------+-----------+----+---------+<br>
| id | username | attribute | op | value |<br>
+------+----------+-----------+----+---------+<br>8813 | baduser | password | == | baduser <br>+------+----------+-----------+----+---------+<br><br>it now looks like this.<br><br>+------+----------+-----------+----+---------+<br>
| id | username | attribute | op | value |<br>+------+----------+-----------+----+---------+<br>| 8813 | baduser | password | == | baduser | <br>| 8814 | baduser | Auth-Type | = | Perl | <br>+------+----------+-----------+----+---------+<br>
<br>Thanks for the help<br><br>