Back from my previous question; I found the Autz-Type doc file that
seems to explain a way to fit my needs.
I created an empty users file with only:
DEFAULT Called-Station-Id == "0", Autz-Type := tst, Auth-Type := tst
DEFAULT Called-Station-Id == "1", Autz-Type := com, Auth-Type := com
And I have in the radiusd.conf file:
modules {
ldap ldap_tst{
...
}
ldap ldap_com{
...
}
authorize {
preprocess
suffix
files
autztype tst{
ldap_tst
}
autztype com{
ldap_com
}
}
authenticate {
files
authtype tst{
ldap_tst
}
authtype com{
ldap_com
}
}
When I start radiusd I have this error:
Error: /etc/raddb/users[1]: Parse error (check) for entry DEFAULT:
Unknown value tst for attribute Autz-Type
Error: Errors reading /etc/raddb/users
Error: radiusd.conf[812]: files: Module instantiation failed.
I don't find reasons for radiusd spreading this errors ?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html