Jump to content

Recommended Posts

Posted

Подскажите,на FreeRadius'е можно как-то удалить аттрибут из ответа: пользователь входит в группу (radusergroup),на NAS из radgroupreply отдается пачка аттрибутов,нужно для конкретного пользователя не отдавать один аттрибут (удалить его из ответа)? Покопался бегло в документации,что-то не нашел.(

Posted

http://freeradius.org/radiusd/man/unlang.html

 

if(User-Name == "abcd") {
   update reply {
       Framed-Pool !* ANY
   }
}

А еcли (один из) Cisco-AVPair нужно удалить,которых в ответе несколько?

 

Ок,вроде нашел,проверю: http://readlist.com/lists/lists.freeradius.org/freeradius-users/3/17526.html

 

Да,работает (сунул в post-auth )

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...