module invoking problem

shiva shankar c.shivashankar at gmail.com
Fri Nov 20 06:16:59 CET 2009


Hi Ivan Kalik,

even this is also not working

sites-available/default

authenticate {
 Auth-Type moto{
               moto
        }
}


in rlm_moto module.... it is not firing (entering)

moto_authenticate{

#logic to hit java program with is resides in Jboss server

}

server showing like this
=========
rad_recv: Access-Request packet from host 10.232.163.145 port 4926, id=231,
length=45
        User-Name = "moto"
        CHAP-Password = 0x378d3e2e813843329567f774a12dec6b4f
+- entering group authorize {...}
++[preprocess] returns ok
[chap] Setting 'Auth-Type := CHAP'
++[chap] returns ok
++[mschap] returns noop
[suffix] No '@' in User-Name = "moto", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns notfound
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user.  Authentication
may fail because of this.
++[pap] returns noop
Found Auth-Type = CHAP
+- entering group CHAP {...}
[chap] login attempt by "moto" with CHAP password
[chap] Cleartext-Password is required for authentication
++[chap] returns invalid
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject]     expand: %{User-Name} -> moto
 attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 2 for 1 seconds
Going to the next request
Waking up in 0.1 seconds.
Cleaning up request 1 ID 241 with timestamp +2
Cleaning up request 0 ID 230 with timestamp +2
Waking up in 0.8 seconds.
Sending delayed reject for request 2
Sending Access-Reject of id 231 to 10.232.163.145 port 4926
Waking up in 4.9 seconds.
Cleaning up request 2 ID 231 with timestamp +8
Ready to process requests.



plz help me



2009/11/19 <tnt at kalik.net>

> >
> > hi ,
> >
> > i am using freeradius 2.1.6 in solaris 10.
> >
> > i created one module like rlm_moto (this module comunictes with java file
> > in
> > jboss server)and configured in (sites-available/ ) default file in
> > Authentication section
> >
> > case one:
> > ========
> > Authentication{
> >          moto
> > } like.......... while sending request it is not invoking  Authentication
> > block in rlm_moto.c
>
> You probably want:
>
> Auth-Type MOTO {
>     moto
> }
>
> Ivan Kalik
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 

regard's
shiva shankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091120/91ed1577/attachment.html>


More information about the Freeradius-Users mailing list