Comments problem in huntgroups file

Thomas BAUDELET Thomas.Baudelet at hcuge.ch
Tue Aug 15 16:26:49 CEST 2006


Hello,

I have problems when I comment the file huntgroups like this: (comments
on the third column)

Switchs      NAS-IP-Address == 10.195.132.7         # test
Switchs      NAS-IP-Address == 10.195.132.8         # testbps2000
Switchs      NAS-IP-Address == 10.195.132.9         # test450

I get the following error:

/home/radius/freeradius/etc/raddb/huntgroups[47]: Parse error (check)
for entry Switchs: dict_init:
/home/radius/freeradius/share/freeradius/dictionary.versanet[36]: Names
for VALUEs cannot start with a digit.
rlm_preprocess: Error reading
/home/Rzoadm/radius/freeradius/etc/raddb/huntgroups
radiusd.conf[1011]: preprocess: Module instantiation failed. 
radiusd.conf[1764] Unknown module "preprocess".
radiusd.conf[1754] Failed to parse authorize section. 


There is no error anymore when I add a comma before the commentary like
this:

Switchs      NAS-IP-Address == 10.195.132.7         ,# test
Switchs      NAS-IP-Address == 10.195.132.8         ,# testbps2000
Switchs      NAS-IP-Address == 10.195.132.9         ,# test450

How to add comments at the end of a line ? I don't want to have a file
like this:
# test
Switchs      NAS-IP-Address == 10.195.132.7         
# testbps2000
Switchs      NAS-IP-Address == 10.195.132.8         
# test450
Switchs      NAS-IP-Address == 10.195.132.9         


Thanks a lot for your answers,
Thomas



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************




More information about the Freeradius-Users mailing list