I'm trying to use rlm_python to authenticate client with my backend.
The problem is, it seems I could not use different modules for different virtual servers and it cause my authentication backed threat all authentication request as default virtual server.
So the question is: Is there any way to pass a variable to module to inform the current virtual server port address?
For example something like this:
update control {
Auth-Type := `/usr/bin/python /etc/test.py '%{User-Name}' '%{User-Password}' '#{virtual-server}'`
}