Hi, I am using freeRADIUS 1.1.6. I can not let rlm_dbm work. Result of rlm_dbm_cat: [root@Jack-Linux raddb]# pwd /usr/local/etc/raddb [root@Jack-Linux raddb]# rlm_dbm_cat -f users.db "hhe4" Cleartext-Password := "hhe123" Reply-Message = "Hello" "hhe123" Cleartext-Password := "hhe123" Reply-Message = "Hello" [root@Jack-Linux raddb]# [root@Jack-Linux raddb]# ls users.* users.db.dir users.db.pag [root@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. --------------------------------- 雅虎邮箱传递新年祝福,个性贺卡送亲朋!
Hi,
[root@Jack-Linux raddb]# rlm_dbm_cat -f users.db "hhe4" Cleartext-Password := "hhe123" Reply-Message = "Hello"
"hhe123" Cleartext-Password := "hhe123" Reply-Message = "Hello"
i have a theory of the entries - remove the quotes from around your userid's in that database file. alan
It works. Thanks. There is another question: How to delete a user from rlm_dbm? I delete the user from the users file. and do "rlm_dbm_parser -i users -o xxx.db", But the deleted user does not disspear from xxx.db. John. A.L.M.Buxey@lboro.ac.uk 写道: Hi,
[root@Jack-Linux raddb]# rlm_dbm_cat -f users.db "hhe4" Cleartext-Password := "hhe123" Reply-Message = "Hello"
"hhe123" Cleartext-Password := "hhe123" Reply-Message = "Hello"
i have a theory of the entries - remove the quotes from around your userid's in that database file. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --------------------------------- 雅虎邮箱传递新年祝福,个性贺卡送亲朋!
Hi,
There is another question: How to delete a user from rlm_dbm? I delete the user from the users file. and do "rlm_dbm_parser -i users -o xxx.db", But the deleted user does not disspear from xxx.db.
according to rlm_dbm_parser, -r remove user(s) from database so.... rlm_dbm_parser -i users -o xxxx.db -r username username2 username3 alan
participants (2)
-
A.L.M.Buxey@lboro.ac.uk -
Hangjun He