[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: [sql]ok, [sql]notfound and [sql]reject
From:       Alan Buxey <alan.buxey () gmail ! com>
Date:       2018-02-21 19:46:20
Message-ID: CAOVYXj8h2Q80Xj_f8vBUxCVsPM5TFw=rApqjd+NJbKLraZC_ZQ () mail ! gmail ! com
[Download RAW message or body]

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@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@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

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic