Alexander Lunyov wrote:
Hello Maxim,
Tuesday, May 18, 2004, 10:02:56 AM, you wrote:
MK> I need to extend Radius functionality by adding custom module which MK> require a custom attribure.
MK> e.g. MK> user Password = "user", My-Attrib := "999", .....
If this is "users" file entry, then your module will never have access to My-Attrib - because My-Attrib is a check attribute. My-Attrib should be reply attribute - then your module will see it. At least you will be able to see it in debug output.
Read users(5).
MK> So, the question is: how do i access to the custom attribute from my MK> module (accounting part). I don't see it in the logs. Neither i see it MK> when traversing request->>packet VP's manually... so, where is the attribute ?
MK> thanx in advance.
MK> PS. the custom dictionary is created, the users file is updated.
Привет ! Судя по всему, ты по-русски можешь общаться :)
Короче говоря, проблема-то как раз в том, чтоб устроить с помощью внешнего модуля дополнительную проверку на канальность (хотя, это уже детали),,,
И атрибут мне нужно ввести именно типа check-attribute. Ближайший аналог - Simultaneous-Use := n
То есть, как я понимаю, копать надо сначала парсер атрибутов ?
Спасибо.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

