help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Setup/config problem - CLID unknown


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] Setup/config problem - CLID unknown
Date: Tue, 12 Nov 2002 11:49:41 +0200

> Nov 08 11:24:04: Auth.notice: Login rejected: [test01]: Authenticate 
> only user: CLID unknown (from nas pav22)
> 
> Its a cinch that the documentation is not making any sense to me.

Its my fault, I should have mentioned it :^) Historically, GNU radius
handles Authenticate-Only service type in a bit differrent way than
other implementations do. Namely, in order for such user to be
authenticated radiusd requires that the incoming request contain
Service-Type=Authenticate-Only pair. This is a leftover from the early
versions and it should disappear in the next release. In the
meanwhile, the attached patch disables this feature.

Regards,
Sergey

Index: radiusd/auth.c
diff -pur orig/gnu-radius-0.96.4/radiusd/auth.c gnu-radius-0.96.4/radiusd/auth.c
--- orig/gnu-radius-0.96.4/radiusd/auth.c       Tue Sep 24 22:26:25 2002
+++ gnu-radius-0.96.4/radiusd/auth.c    Tue Nov 12 11:45:51 2002
@@ -1049,12 +1049,7 @@ void
 sfn_service_type(m)
        AUTH_MACH *m;
 {
-       if (m->check_pair->lvalue == DV_SERVICE_TYPE_AUTHENTICATE_ONLY) {
-               auth_log(m, _("Login rejected"), NULL,
-                        _("Authenticate only user"), NULL);
-               auth_format_msg(m, MSG_ACCESS_DENIED);
-               newstate(as_reject);
-       }
+       /* nothing */
 }
 
 void

reply via email to

[Prev in Thread] Current Thread [Next in Thread]