I assume you are using user file.

the simple entry should resemble like this:

murali   Auth-Type := System, User-Password == "murali"
        Reply-Message = "Hello, Murali you are Authenticated! Go ahead!!",
        Service-Type = Login-User,
        Login-Service = Telnet,
        Login-IP-Host = 127.0.0.1,
        Login-TCP-Port <= 65536

Try removing Auth-Type and proceed, it should work


In case you are searching for the credentials from the system, i.e., /etc/passwd file or shadow....

make sure that you have uncommented the respective entries for your client entry

Ex : client 127.0.0.1
       {
          .
          .
          .
       passwd = /etc/passwd
       }


Hope you should able to cross your hurdle now ...
Otherwise some one else should help us....


Bye
Murali.


Pradeep Nevatia wrote:
hello can you explain me in detail...where to make change..
Thanks....


-----Original Message-----
From: Murali Krishna G <[EMAIL PROTECTED]>
To: [email protected]
Date: Fri, 04 Mar 2005 12:24:47 +0530
Subject: Re: freeradius conf.

  
Hello,

Check out Stefan's solution for this :: its working for me.

    
  modcall[authorize]: module "files" returns ok for request 0
modcall: group authorize returns ok for request 0
  rad_check_password:  Found Auth-Type System
auth: type "System"
        
 

      
Stefan Winter : 

how about omitting Auth-Type := System? The files section already
properly 
authorized your user, but the later checks with Auth-Type System led to
the 
failure.


Bye
Murali.



Pradeep Nevatia wrote:

    
dear please help me out where i have to make change & in wich conf.
      
fils
    
pradeep..

-----Original Message-----
From: Doug Hardie <[EMAIL PROTECTED]>
To: [email protected]
Date: Wed, 2 Mar 2005 23:12:29 -0800
Subject: Re: freeradius conf.

 

      
 rad_check_password:  Found Auth-Type System
rlm_unix: [pradeep]: invalid password
     

          
You are configured for Unix password validatation and the password
        
you 
    
gave is not the one the system has for that user id.


On Mar 2, 2005, at 23:10, Pradeep Nevatia wrote:

   

        
Dear i haven't solved my problem please help me out..

pradeep..
========================================================


Dear

Recently I have installed freeradius (freeradius-0.9.3-1.i386.rpm),i
have
some problem in password auth.
i have created new user:pradeep with pass:123456

when i tried to test the auth. enabling Debug mod.
using command > radtest pradeep 123456 localhost:1812 0 testing123

it generate following massage :
================================================================

rad_recv: Access-Request packet from host 127.0.0.1:32783, id=176,
length=59
       User-Name = "pradeep"
       User-Password = "123456"
       NAS-IP-Address = 255.255.255.255
       NAS-Port = 0
modcall: entering group authorize for request 1
 modcall[authorize]: module "preprocess" returns ok for request 1
 modcall[authorize]: module "chap" returns noop for request 1
 modcall[authorize]: module "eap" returns noop for request 1
   rlm_realm: No '@' in User-Name = "pradeep", looking up realm
          
NULL
    
   rlm_realm: No such realm "NULL"
 modcall[authorize]: module "suffix" returns noop for request 1
   users: Matched DEFAULT at 152
 modcall[authorize]: module "files" returns ok for request 1
 modcall[authorize]: module "mschap" returns noop for request 1
modcall: group authorize returns ok for request 1
 rad_check_password:  Found Auth-Type System
auth: type "System"
modcall: entering group authenticate for request 1
rlm_unix: [pradeep]: invalid password
 modcall[authenticate]: module "unix" returns reject for request 1
modcall: group authenticate returns reject for request 1
auth: Failed to validate the user.
Delaying request 1 for 1 seconds
Finished request 1

     

          
=====================================================================
        
=
    
   

        
Please help me where i have made mistake in conf.

Regards
Pradeep..


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

     

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

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

      
    


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

  

Reply via email to