[sql]ok, [sql]notfound and [sql]reject

Alan Buxey alan.buxey at gmail.com
Wed Feb 21 20:46:20 CET 2018


hi,

well, it is 'not found' as a database is a credential store and not an
authentication engine...so if the password is wrong you really just
have a 'no known record found that matched
that username and password, therefore nofound.   if you want notfound
to become a reject, use unlang to do that, something like

sql
    if (notfound) {
        update control {
           Auth-Type := Reject
          }
      }


2018-02-21 15:27 GMT+00:00 Stefan Paetow <Stefan.Paetow at jisc.ac.uk>:
>> Como obter rejeição no sql, recebo apenas [slq] ok e [sql] notfound, se o usuário inserir o nome de usuário correto e a senha errada, o sql retorna ok, não foi para retornar [sql] rejeitar?
>
> Ola Anderson, reenvie sua pergunta em inglês por favor! Eu não acho que alguém aqui fala Português.
>
> Obrigado!
>
> Stefan Paetow
> Consultant, Trust and Identity
>
> t: +44 (0)1235 822 125
> gpg: 0x3FCE5142
> xmpp: stefanp at jabber.dev.ja.net
> skype: stefan.paetow.janet
>
> jisc.ac.uk
>
> Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list