plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Text validation error when creating a Freeradius user with a password containing special characters

Open afa-bokor opened this issue 3 years ago • 5 comments

Initially I realized I could not not create Freeradius user with password containing special characters such as,>,<,?(This was noticed on the latest branch of Freeradius.

I made the a few modifications in the user.xml file and tested it and was able to add users with passwords containing special characters

afa-bokor avatar May 18 '22 10:05 afa-bokor

I would appreciate it if the Freeradius team could review my code, and if it was helpful they should kindly merge my commits into opnsense:master so that the entire Freeradius community benefits from this solution.

I am grateful for the opportunity to be able to contribute to opnsense.

afa-bokor avatar May 18 '22 11:05 afa-bokor

Hi,

Did you also test if all characters are supported by FreeRADIUS itself? I remember that FR throwed an error for some characters, therefore it's limited.

mimugmail avatar May 18 '22 11:05 mimugmail

Hello,

yes I did test if all the characters are supported by Freeradius itself. I noticed this and corrected it before committing the code.

afa-bokor avatar May 18 '22 16:05 afa-bokor

Great, can you also check that there are no duplicates in there please?

mimugmail avatar May 18 '22 17:05 mimugmail

ok. Thank you.

afa-bokor avatar May 18 '22 17:05 afa-bokor

timeout

AdSchellevis avatar Dec 21 '22 14:12 AdSchellevis