[RESOLVED] Need both Local (MySQL database) and Active directory authentications.

2013-04-12 Thread ffgch2
Thanks Alan! The following code in the sites-available/inner-tunnel solved the problem. if ("%{sql: SELECT COUNT(*) FROM radcheck WHERE username = '%{SQL-User-Name}' AND pwdtype = 'local'}" > 0) { update control { MS-CHAP-Use-NTLM-Auth := 0

Need both Local (MySQL database) and Active directory authentications.

2013-04-11 Thread ffgch2
Hi all, I have set up Freeradius (v.2.1.10) 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