Many thanks for your quick replies!
On 8/15/2024 3:25 AM, YASUOKA Masahiko wrote:
> On Thu, 15 Aug 2024 15:48:34 +0900 (JST)
> YASUOKA Masahiko <yasu...@openbsd.org> wrote:
>> On Thu, 15 Aug 2024 02:15:38 -0400
>> Mike <the.li...@mgm51.com> wrote:
>>> I'm not sure if this is the correct place to report this issue. Please
>>> correct me if it is wrong.
>>>
>>> I am running a version of OpenBSD current that I downloaded earlier today.
>>>
>>> uname -a presents...
>>> OpenBSD [hostname] 7.6 GENERIC.MP#247 amd64
>>>
>>> OK.
>>>
>>> I copy the radiusd.conf from /etc/examples to /etc/radius
>>>
>>> And when I run
>>>
>>> radiusd -d -f /etc/radius/radiusd.conf
>>>
>>> I see...
>>>
>>> /etc/radius/radiusd.conf:26: syntax error
>>> /etc/radius/radiusd.conf:30: syntax error
>>>
>>>
>>> Why does the provided "example" fail with syntax errors?
>>
>> The syntax is chaning and it is trying to keep the old syntax but it
>> seems to be broken.
>>
>> --- /etc/examples/radiusd.conf Thu May 30 15:24:33 2024
>> +++ /etc/examples/radiusd2.conf Thu Aug 15 15:46:10 2024
>> @@ -23,10 +23,5 @@ module set radius server "127.0.0.1"
>> module load strip-realm "/usr/libexec/radiusd/radiusd_standard"
>> module set strip-realm strip-atmark-realm true
>>
>> -authenticate *@local {
>> - authenticate-by bsdauth
>> - decorate-by strip-realm
>> -}
>> -authenticate *@example.com {
>> - authenticate-by radius
>> -}
>> +authenticate *@local by bsdauth decorate-by strip-realm
>> +authenticate *@example.com by radius
>>
>>
>> will fix the errors.
>>
>> I'll fix on the CVS tree too.
>
> The bug was fixed on the tree. Thanks,
>