Community discussions

MikroTik App
 
evpamex
just joined
Topic Author
Posts: 1
Joined: Sat Jul 03, 2021 12:13 pm

Mikrotik + freeradius auth with /etc/shadow

Sat Jul 03, 2021 12:19 pm

Hello,

I want to authenticate Mikrotik local users with Freeradius.
It is working good if I use passwords from 'users' file.
But it is error if I want to use linux local system users (located in /etc/shadow)

Can Mikrotik+freeradius make user auth with linux shadow file?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11433
Joined: Thu Mar 03, 2016 10:23 pm

Re: Mikrotik + freeradius auth with /etc/shadow

Sat Jul 03, 2021 3:52 pm

Mikrotik doesn't know anything about your /etc/shadow file. The problem is thus completely related to configuration of whatever radius implementation you're using.
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: Mikrotik + freeradius auth with /etc/shadow

Sat Jul 03, 2021 3:55 pm

As of v6.43 the login service RADIUS authentication uses MS-CHAPv2 so your radius server needs either plaintext or NTLM password hashes, it is impossible to use any salted hashes.

Who is online

Users browsing this forum: cesarfernandez63, SanchoHa, syslog and 48 guests