/etc/freeradius/3.0/mods-config/sql/moonshot-targeted-ids/sqlite/queries.conf is in freeradius-config 3.0.16+dfsg-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # -*- text -*-
#
# moonshot-targeted-ids/sqlite/queries.conf -- Queries to update a sqlite Moonshot-*-Targeted-Ids table.
#
# $Id: 8cdb80382db6e94067a75c0428b375847eb04ad8 $
post-auth {
# Query to store the Moonshot-*-TargetedId
query = "\
INSERT INTO ${..moonshot_tid_table} \
(gss_acceptor, namespace, username, targeted_id) \
VALUES \
('%{control:Moonshot-MSTID-GSS-Acceptor}', '%{control:Moonshot-MSTID-Namespace}', \
'%{tolower:%{User-Name}}', '%{control:Moonshot-MSTID-TargetedId}')"
}
|