NULL password

Dom Latter freeradius-users at latter.org
Tue Sep 4 14:39:35 CEST 2018



On 04/09/18 13:33, Matthew Newton wrote:
> On Tue, 2018-09-04 at 13:10 +0100, Dom Latter wrote:
>> When new users are created they are sent a link
>> which enables them to set a new password. Before this is used we'd
>> like to have a placeholder value something like "not set yet".  As
>> this is not decryptable the query returns a NULL value.
> 
> Be explicit about it in unlang? Along the lines of
> 
> if (&Cleartext-Password == "") {
>    reject
> }
> 
> Seems like the safest way to me, whatever the default behaviour.


That is a very helpful suggestion, thank you Matthew!


More information about the Freeradius-Users mailing list