Hi All,

        I m a new member of this fast growing mailing list. i had just started
working on FreeRadius version 1.0.1 on RedHat Linux release 2.4.18-3
I had encountered problem in authenticating user based on his/he password.

As per man radiusd,
When testing, start off by configuring a user and password in the users file.
So long as the server knows about a user, and has a clear-text password for
that user,  almost  all  of    the authentication methods will just work".

BUT , this is not working at all !!

I removed the comments from the entry for user "dialbk"  at line 113 of the
file "/raddb/users"
Then i did ./configure ; make clean ; make all; make install

If now i run "radtest dialbk callme localhost 0 testing123" ,
debug prints on RADIUS server shows the following result :

  User-Name = "dialbk"
        User-Password = "callme"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 2
  modcall[authorize]: module "preprocess" returns ok for request 2
  modcall[authorize]: module "chap" returns noop for request 2
  modcall[authorize]: module "mschap" returns noop for request 2
    rlm_realm: No '@' in User-Name = "dialbk", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 2
  rlm_eap: No EAP-Message, not doing EAP
  modcall[authorize]: module "eap" returns noop for request 2
    users: Matched DEFAULT at 152
  modcall[authorize]: module "files" returns ok for request 2
modcall: group authorize returns ok for request 2
  rad_check_password:  Found Auth-Type System
auth: type "System"
  Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 2
  modcall[authenticate]: module "unix" returns notfound for request 2
modcall: group authenticate returns notfound for request 2
auth: Failed to validate the user.


My question is when users file has an entry for "dialbk" at line 113 , why
does it give a match at line 152.    [users: Matched DEFAULT at 152] even
though i had reissued make install.

Now if i add the user "dialbk" to my system, it will give Accept but again
 (if i guessed it right) this is due to match DEFAULT at 152, Auth-Type =
 System. so that it will look into /etc/passwd for "dialbk"


Can anybody plz look into this .. 



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

Reply via email to