about FreeRadius+radiusmanager+mikrotik

Tanjil Ahmed tanjil at tanjil.net
Wed May 4 22:49:01 CEST 2011


Thanks for your quick Reply

here is my Error

rad_recv: Access-Request packet from host 10.10.0.2 port 48125, id=171,
length=136
        Service-Type = Framed-User
        Framed-Protocol = PPP
        NAS-Port = 8744
        NAS-Port-Type = Ethernet
        User-Name = "mizanes"
        Calling-Station-Id = "00:24:1D:38:E5:FB"
        NAS-Port-Id = "LAN"
        CHAP-Challenge = 0x58f516ecc01066e4524585ede64dc571
        CHAP-Password = 0x010ceed8f43b50abf1ca288b61c15ccf1f
        NAS-Identifier = "ISP"
        NAS-IP-Address = 10.10.0.2
+- entering group authorize {...}
++[preprocess] returns ok
[chap] Setting 'Auth-Type := CHAP'
++[chap] returns ok
++[mschap] returns noop
[suffix] No '@' in User-Name = "mizanes", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[files] users: Matched entry DEFAULT at line 2
[files]         expand: /usr/local/bin/rmauth "%{NAS-IP-Address}"
"%{User-Name}" "%{Calling-Station-Id}" -> /usr/local/bin/rmauth "10.10.0.2"
"mizanes" "00:24:1D:38:E5:FB"
++[files] returns ok
rlm_sql (sql): Reserving sql socket id: 0
[sql]   expand:  ->
[sql] Error generating query; rejecting user
rlm_sql (sql): Released sql socket id: 0
++[sql] returns fail
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject]     expand: %{User-Name} ->mizanes
 attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Sending Access-Reject of id 171 to 10.10.0.2 port 48125
Finished request 14.
Going to the next request


after few mins he can able to login.. pls help me  to solve this problem!



On Thu, May 5, 2011 at 2:32 AM, Garber, Neal
<Neal.Garber at iberdrolausa.com>wrote:

> > some of my user trying to login Mikrotik but they cant first time..
>
> You may find that it will be easier for people to help you if you provide
> specific details about the problems you are having and what you've done in
> an attempt to fix the problems.
>
> You should start by doing Internet searches to see if someone else had the
> same problem(s) and what was done to fix it.  If you can't find anything
> relevant, post the debug output of a failure.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110505/474f4ffa/attachment.html>


More information about the Freeradius-Users mailing list