Open amazor opened 1 month ago
Hi,
This issue looks like a duplicate of https://github.com/sonic-net/sonic-buildimage/issues/15185. Please re-run this test after incorporating the fix of https://github.com/sonic-net/sonic-buildimage/pull/14466. That should fix this too.
Set-up
Sonic_DUT (10.1.1.1) connected to FreeRadius Server (10.1.1.2) This bug is not platform specific.
Client Configurations (SONiC 202405)
Server Configurations (FreeRadius 3.0.26)
Edit /etc/freeradius/3.0/users Add a new user at the top of the file:
testuser Cleartext-Password := "testuser"
Edit /etc/freeradius/3.0/client.conf Add a new client with it’s ipaddress and secret key
Steps to Reproduce
Verify "testuser" does not exist in
/etc/passwd
Attempt to login with "testuser" for first time using SSH
Describe the results you received:
In RADIUS authentication through SSH, the DUT sends garbage as User-Password. This will result in "Access-Reject" from RADIUS server.
Describe the results you expected:
The DUT will send the correct User-Password (decrypted) string. This will result in the RADIUS server sending an "Access-Accept", and DUT will create a local user in /etc/passwd. The device will be able to login.