rlm_dbm can not work?

Hangjun He elmerhe at yahoo.com.cn
Mon Feb 25 04:15:38 CET 2008


Hi,
   
  I am using freeRADIUS 1.1.6.  I can not let rlm_dbm work. 
   
  Result of rlm_dbm_cat:
  [root at Jack-Linux raddb]# pwd
/usr/local/etc/raddb
[root at Jack-Linux raddb]# rlm_dbm_cat -f users.db
"hhe4"              Cleartext-Password := "hhe123"
                    Reply-Message = "Hello"
                     
"hhe123"            Cleartext-Password := "hhe123"
                    Reply-Message = "Hello"
                     
[root at Jack-Linux raddb]#
[root at Jack-Linux raddb]# ls users.*
users.db.dir  users.db.pag
[root at Jack-Linux raddb]#
   
  Debug message:
  Module: Loaded dbm
 dbm: usersfile = "/usr/local/etc/raddb/users.db"
Module: Instantiated dbm (dbm)
Listening on authentication *:1812
Listening on accounting *:1813
ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1:1033, id=26, length=58
        User-Name = "hhe123"
        User-Password = "hhe123"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 0
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
  rlm_eap: No EAP-Message, not doing EAP
  modcall[authorize]: module "eap" returns noop for request 0
rlm_dbm: try open database file: /usr/local/etc/raddb/users.db
rlm_dbm: Call parse_user:
sm_parse_user.c: check for loops
Add hhe123 to user list
rlm_dbm: User <hhe123> not foud in database
Remove hhe123 from user list
sm_parse_user.c: check for loops
Add DEFAULT to user list
rlm_dbm: User <DEFAULT> not foud in database
Remove DEFAULT from user list
  modcall[authorize]: module "dbm" returns notfound for request 0
modcall: leaving group authorize (returns noop) for request 0
auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
auth: Failed to validate the user.
Sending Access-Reject of id 26 to 127.0.0.1 port 1033
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 26 with timestamp 47c220be
Nothing to do.  Sleeping until we see a request.
   
  John.
   
   

       
---------------------------------
雅虎邮箱传递新年祝福,个性贺卡送亲朋! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080225/e76144cb/attachment.html>


More information about the Freeradius-Users mailing list