Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > f305277f4b8a5016d43d485fa3c7f3de > files > 240

freeradius-3.0.22-1.mga7.armv7hl.rpm

# -*- 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}')"
}