We use a sql backend. Just after my sql module (in the authorise section) i added the following bloc.
if (notfound) { update reply { Tunnel-Type := 13 Tunnel-Medium-Type := 6 Tunnel-Private-Group-ID := 42
} } When a user is unknown, the sql module returns notfound and this block is evaluated as TRUE. But the return value is not the VLAN as expected : ? Evaluating (notfound) -> TRUE ++? if (notfound) -> TRUE ++- entering if (notfound) {...} +++[reply] returns notfound ++- if (notfound) returns notfound ? Evaluating (notfound) -> TRUE ++? if (notfound) -> TRUE ++- entering if (notfound) {...} +++[reply] returns notfound ++- if (notfound) returns notfound
Regards, -- *Fabien COMBERNOUS* /unix system engineer/ www.kezia.com <http://www.kezia.com/> *Tel: +33 (0) 467 992 986* Kezia Group