> On 18/02/2021 08:57 Henry <
hl1723@yahoo.com.hk> wrote:
>
>
>
>
> Anyone kwon the last-login plugins can using Authentication variables such as %m mechanism, %a local_port .
> we want to record this in DB, thanks
You can use this syntax to add further fields for last_login plugin.
map {
pattern = shared/last-login/$user/$domain
table = last_login
value_field = last_login
value_type = uint
fields {
username = $user
domain = $domain
rip = $rip
}
}
Aki