ffgch2 wrote:Upgrade to v2.2.0.
> I have set up Freeradius (v.2.1.10)
You need to figure out when users will be checked against SQL, and
> to do password authentication from
> MySQL database and it works fine but now I need to make some users be
> able to authenticate against Active directory accounts. I’ve setup
> winbind to authenticate windows accounts and it works but as a result
> freeradius lost ability to authenticate by local database.
when they will be checked against AD. Right now, you've configured
FreeRADIUS to use both. Which isn't what you want.
Don't randomly change things. It won't work.
> So if I comment the line:
No. There are better ways.
> Is there a way to tell mschap to use ntlm_auth depending on field in
> MySQL table and use the internal mechanisms if plain text passwords
> available in the MySQL table?
See raddb/modules/mschap. You can control when ntlm_auth is called.
See "man unlang". You can configure policies. Read the debug output.
What you want is this:
authorize {
...
sql
if (ok) {
update control {
"MS-CHAP-Use-NTLM-Auth := No
}
}
...
}
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html