Re: Adding additional row to radcheck table

2010-08-26 Thread Alan DeKok
Marius Pesé wrote:
> Radcheck usually stores CAP and PASSWORD, I have added an additional
> value to the dictionary and wanted to add that as a row in radcheck, like
>
> IDUsername   Attribute Op  Value
> 
> 66   b...@internet   cancelled ==   no

  Which checks if the "cancelled" attribute exists, and if it's value is
"no".

> However when I then try to authenticate debug returns “No known good
> password” even though the Crypt-Password Attribute is still there.

  Probably because the "cancelled" attribute doesn't exist.

> Deleting the line in the radcheck table and everything works again.
>
> Anybody see what I missed?

  Read the documentation for the SQL module to see how it works.

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

Adding additional row to radcheck table

2010-08-26 Thread Marius Pesé
Hi everyone,

 

Radcheck usually stores CAP and PASSWORD, I have added an additional value to 
the dictionary and wanted to add that as a row in radcheck, like

 

IDUsername   Attribute Op  Value

66   b...@internet   cancelled ==   no

 

However when I then try to authenticate debug returns "No known good password" 
even though the Crypt-Password Attribute is still there.

Deleting the line in the radcheck table and everything works again.

 

Anybody see what I missed?

 

Regards

Marius

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