Hi, I'm trying to use the huntgroup feature on the freeradius software with out luck. I think I'm missing something that's why I'm sending this email maybe you can help me.
Right now I have the following files:
huntgroups file at the end:
squid NAS-IP-Address == 127.0.0.1
users file at the end:
alfonso Auth-Type := Local, User-Password == "testing", Huntgroup-Name == "squid"
clients.conf at the end:
client 127.0.0.1 {
secret = xxxxxxxxxxx
shortname = squid
}
When I try with the radtest to log in, I get an access-reject.
Here's the client side response:
[root@mscitum raddb]# radtest alfonso testing localhost 10 xxxxxxx
Sending Access-Request of id 134 to 127.0.0.1 port 1812
User-Name = "alfonso"
User-Password = "testing"
NAS-IP-Address = 255.255.255.255
NAS-Port = 10
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=134, length=20
Here's the output of the debug, it seems that it doesn't find the config file.
rad_recv: Access-Request packet from host 127.0.0.1:36858, id=134, length=59
User-Name = "alfonso"
User-Password = "testing"
NAS-IP-Address = 255.255.255.255
NAS-Port = 10
Processing the authorize section of radiusd.conf
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 "mschap" returns noop for request 1
rlm_realm: No '@' in User-Name = "alfonso", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 1
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 1
users: Matched entry DEFAULT at line 152
modcall[authorize]: module "files" returns ok for request 1
modcall: leaving group authorize (returns ok) for request 1
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 1
modcall[authenticate]: module "unix" returns notfound for request 1
modcall: leaving group authenticate (returns notfound) for request 1
auth: Failed to validate the user.
Delaying request 1 for 1 seconds
Finished request 1
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 134 to 127.0.0.1 port 36858
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 1 ID 134 with timestamp 4c7319f1
Nothing to do. Sleeping until we see a request.
May be I'm missing to enable some feature, thanks in advance for your help.
Regards
Alfonso.