modify realm in authenticate section

cd christophedeze at wanadoo.fr
Mon Feb 8 09:55:32 CET 2010


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"






More information about the Freeradius-Users mailing list