Well i've noticed after reading the debug that the request with the empty
username did not even hit the radius server (nothing on the debug output)

But when using any character on the username i got some input :

--------- Begining of Input -----

rad_recv: Accounting-Request packet from host my_NAS:1026, id=252,
length=101
        Acct-Session-Id = "B800005D"
        User-Name = "t"
        NAS-IP-Address = my_NAS
        NAS-Port = 45
        NAS-Port-Type = ISDN
        Acct-Status-Type = Start
        Acct-Authentic = RADIUS
        Called-Station-Id = "1"
        Calling-Station-Id = "037680045"
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Framed-IP-Address = 194.204.200.232
        Acct-Delay-Time = 0
modcall: entering group preacct for request 28
    rlm_realm: No '/' in User-Name = "t", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[preacct]: module "ROAM" returns noop for request 28
    rlm_realm: No '@' in User-Name = "t", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[preacct]: module "suffix" returns noop for request 28
  modcall[preacct]: module "files" returns noop for request 28
  modcall[preacct]: module "preprocess" returns noop for request 28
modcall: group preacct returns noop for request 28
modcall: entering group accounting for request 28
rlm_acct_unique: WARNING: Attribute NAS-Port-Id was not found in request,
unique ID MAY be inconsistent
rlm_acct_unique: Hashing ',Client-IP-Address = my_NAS,NAS-IP-Address =
my_NAS,Acct-Session-Id = "B800005D",User-Name = "t"'
rlm_acct_unique: Acct-Unique-Session-ID = "2dd4757bbb6a253d".
  modcall[accounting]: module "acct_unique" returns ok for request 28
radius_xlat:  '/var/log/radius/radacct/my_NAS/detail'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/detail expands to
/var/log/radius/radacct/my_NAS/detail
  modcall[accounting]: module "detail" returns ok for request 28
  modcall[accounting]: module "unix" returns ok for request 28
radius_xlat:  '/var/log/radius/radutmp'
radius_xlat:  't'
  modcall[accounting]: module "radutmp" returns ok for request 28
modcall: group accounting returns ok for request 28
Sending Accounting-Response of id 252 to my_NAS:1026
Finished request 28
Going to the next request
Waking up in 6 seconds...

------ End Debug ------------------------

My users file contains the following

DEFAUTL Auth-Type := Accept, Called-Station-Id == "1"

Please advise

Adil


On Wed, 14 Jan 2004, Anson Rinesmith wrote:

> With the supplied line in your "users" file, could you send me your relevant
> output from radiusd -X, might help debug your problem.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Adil
> Bikarbass
> Sent: Wednesday, January 14, 2004 10:36 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Blank username/password
>
> I've tried this too but with the same result when the username is not
> empty it's accepted otherwise it's rejeted,
>
> The problem is with empty usernames/passwords, once again i want to grant
> access based on the Called-Station-Id no matter what the username is
> (empty username).
>
> Any tips?
>
> Thanks
>
>  On Wed, 14 Jan 2004, Anson Rinesmith wrote:
>
> >
> > >Our users file contains the following DEFAULT entry :
> >
> > You have
> > >DEFAUTL Auth-Type := Accept, Called-Station-Id == "1"
> >
> > DEFAULT Called-Station-ID == "9995551234", Auth-Type := "Accept"
> >
> > Is Closer to what you need in your users file
> >
> >
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> >
>
>

-- 
|-Adil Bikarbass
|-IT Manager
|-MTDS S.A.
|-tel +212.3.767.4861
|-fax +212.3.767.4863
|-gsm +212.6.139. 4541
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to