hi
is it possible to modify realm like this ?
and then use the realm in users file ..see below
Auth-Type ldap {
group {
ldap_admin {
reject = 1
ok = return
}
if (ok) {
update reply {
Realm:="admin"
}
}
ldap_peda {
reject = 1
ok = return
}
if (ok) {
update reply {
Realm:="pedago"
}
}
}
}
users file
DEFAULT Realm=="pedago"
Tunnel-Type=VLAN,
Tunnel-Medium-Type=6,
Tunnel-Private-Group-ID=20,
Reply-Message="ok_hostpeda"
DEFAULT Realm=="admin"
Tunnel-Type=VLAN,
Tunnel-Medium-Type=6,
Tunnel-Private-Group-ID=10,
Reply-Message="ok_hostadmin"
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html