Contextual mapping of LDAP attributes

Adamczak Krzysztof kradamcz at gmail.com
Wed Jul 6 13:22:53 CEST 2016


Yeah I thought so. Another approach would be (specific to my
configuration) to map directly in ldap module update like this:
update {
    reply:ERX-Virtual-Router-Name   := "%{control:nasType}virtualrouter"
}

Where control:nasType was set earlier (authorize section) based on
e.g. NAS-IP-Address (NAS-IP-Address -> "xdsl" | "adsl" " ...)

thanks for the reply,
Krzysztof


More information about the Freeradius-Users mailing list