hello sir,
            i've already mailed u regarding some doubts,thanks for the reply.
 
i've few more doubts,
Sir,
Doubts regarding the freeradius server, kindly help me out.
As given in section 4.12 of FAQ  Debugging it yourself , i did the following steps
-----------------------------------------------------------------------
Step 1:
it is given that
3. Ensure that you have localhost in your raddb/clients file. FreeRADIUS
comes configured this way, so it should be there.
so i found entry in
/usr/local/etc/raddb/clients
as
# Client Name  Key
#---------------- ----------
#portmaster1.isp.com testing123
#portmaster2.isp.com testing123
#proxyradius.isp2.com TheirKey
#localhost  testing123
-----------------------------------------------------------------------
Step 2:
4. Ensure you have a valid user in your raddb/users file. If everything else
fails, go to the top of the file and add the following entry:
so i did entry in
/usr/local/etc/raddb/users
as it was given in the FAQ
bob     Password = "bob"
                Reply-Message = "Hello, bob"
------------------------------------------------------------------------
Step 3:
it is given that
1. Run the server in debugging mode
        radiusd -sfxxyz -l stdout
i got the message
Ready to process requests.
-------------------------------------------------------------------------
Step 4:
in another window i ran this command as given in the FAQ
[EMAIL PROTECTED] root]# radtest bob bob localhost 0 testing123
Sending Access-Request of id 185 to 127.0.0.1:1812
        User-Name = "bob"
        User-Password = "bob"
        NAS-IP-Address = localhost.localdomain
        NAS-Port = 0
In the server side I got the below listed messages:
rad_recv: Access-Request packet from host 127.0.0.1:1025, id=185, length=55
        User-Name = "bob"
        User-Password = "bob"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "chap" returns noop
rlm_eap: EAP-Message not found
  modcall[authorize]: module "eap" returns noop
    rlm_realm: No '@' in User-Name = "bob", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop
    users: Matched DEFAULT at 153
  modcall[authorize]: module "files" returns ok
  modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type System
auth: type "System"
modcall: entering group authenticate
  modcall[authenticate]: module "unix" returns notfound
modcall: group authenticate returns notfound
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 185 to 127.0.0.1:1025
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 185 with timestamp 3f68d908
Nothing to do.  Sleeping until we see a request.
---------------------------------------------------------------------------
Later after few seconds in the Client window I got the following message
[EMAIL PROTECTED] root]# radtest bob bob localhost 0 testing123
Sending Access-Request of id 240 to 127.0.0.1:1812
        User-Name = "bob"
        User-Password = "bob"
        NAS-IP-Address = localhost.localdomain
        NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=240, length=20
--------------------------------------------------------------------------
In FAQ it is given that we should get the following message:
  Ensure that you see the Reply-Message above and that you do NOT see an
"Access denied" message. If you get an Access-Accept message, this means that
the server is running properly.
----------------------------------------------------------------------------
Sir, why am i getting the access-reject message from the server.
Kindly help me how do i get the access-accept message from the server to ensure that the server is running properly?
in anticipation of reply,
regards,
puneeth b.


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Reply via email to