查看下preprocess文件
#more /etc/raddb/mods-enabled/preprocess
huntgroups = ${moddir}/huntgroups
hints = ${moddir}/hints
该文件包含了上述两个部分,在/etc/raddb目录下可以找到。
首先学习下hints.
1、查看hints文件
#more hints
显示内容如下:
DEFAULT Suffix == ".ppp", Strip-User-Name = Yes
Hint = "PPP",
Service-Type = Framed-User,
Framed-Protocol = PPP
DEFAULT Suffix == ".slip", Strip-User-Name = Yes
Hint = "SLIP",
Service-Type = Framed-User,