ili4 Posted November 12, 2004 Posted November 12, 2004 Всем привет. На Freeradius приходти некий параметр в аттрибуте Cisco-AVPair. Но в одном пакете может быть несколько аттрибутов Cisco-AVPair, а в sql запросе freeradius отправляет только то, что пришло в первом аттрибуте. Конфиг радиуса (sql.conf): ... authorize_check_query = "exec auth '%{SQL-User-Name}', '%{Cisco-AVPair}'" ... Вот дебаг: rad_recv: Access-Request packet from host 10.0.0.1:4916, id=29, length=77 User-Name = "user" User-Password = "" Cisco-AVPair = "test" Cisco-AVPair = "xpgk-routing-request=1" Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 radius_xlat: 'user' rlm_sql (pgsql-voip): sql_set_user escaped user --> 'user' radius_xlat: 'exec auth 'user', 'test' ' ... Помогите, как распознать параметр, который приходит в Cisco-AVPair? Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.