对于主机x86_64-suse-linux-gnu,我的freeradius版本为2.1.1(对不起,版本:/)
在启用站点的文件夹中添加模块DDDD_cisco之后,radius无法启动,在调试模式下,我会收到此错误:
/etc/raddb/sites-enabled/DDDD_cisco[303]: ERROR: Unknown value NAS-Prompt-User, for attribute Service-Type
尽管NAS-Prompt-User值在包含的字典中定义得很好:
# grep NAS-Prompt-User /usr/share/freeradius/dictionary*
/usr/share/freeradius/dictionary.rfc2865:VALUE Service-Type NAS-Prompt-User 7
DDDD_cisco模块包含以下代码:
server DDDD_cisco {
authorize {
[...]
}
authenticate {
[...]
}
session {
[...]
}
post-auth {
if (Ldap-Group=="cn=cisco-Admin,ou=roles,dc=company"){
update reply {
Service-Type = NAS-Prompt-User,
Idle-Timeout = 600,
Cisco-AVPair = "shell:priv-lvl=15"
}
}
Post-Auth-Type REJECT {
attr_filter.access_reject
}
}
pre-proxy {
[...]
}
poste-proxy {
[...]
}
}
您能帮我解决这个问题吗?