AW: Local user or DB?

Tevfik Ceydeliler tevfik.ceydeliler at
Fri Jan 22 15:42:50 CET 2016

OK. Let me clearify my problem.
There are 3 places where located my users.
1. Local files
2. MySql DB (freeradius schema)
3. MSSQl DB (only have username and Surname)

What I want to?
If user  try to authenticate and if this user defined local file or 
MySQL radiusdb, there is no problem.
If user try to authenticate and if this user is defined im MSSQL DB, I 
have to use custom query.
Thats' why freeradius should know where com from authentication request 
and which custom query will be run .

To separate localfiles/Mysql and MSSQL  can I use realm? and If possible 
how can I trigger this custom query?

I hope I can explain what is my problem.

On 22-01-2016 09:10, Cornelius Kölbel wrote:
> Basically freeradius does not care where they are located if the users are in the same default privacyidea realm.
> Kind regardsCornelius
> Cornelius KölbelCornelius.koelbel at 151 2960 1417
> NetKnights GmbHhttp://netknights.itLandgraf-Karl-Str. 19, 34131 Kassel, GermanyTel: +49 561 3166797, Fax: +49 561 3166798
> Amtsgericht Kassel, HRB 16405Geschäftsführer: Cornelius Kölbel
> -------- Ursprüngliche Nachricht --------
> Von: Tevfik Ceydeliler <tevfik.ceydeliler at>
> Datum: 22.01.2016  07:59  (GMT+01:00)
> An: freeradius-users at
> Betreff: Local user or DB?
> Hi,
> I want to use both local files and mySQL DB to authenticate my user. But
> How can I tell to freeradius which user is located where local files or DB.
> Is there any way to do this?
> Realm can use for this aim?
> Have you any hint?
> Regards..
> Bu elektronik postada bulunan tum fikir ve gorusler ve ekindeki dosyalar sadece adres sahip/sahiplerine ait olup, Yasar Toplulugu Sirketleri bu mesajin icerigi ile ilgili olarak hic bir hukuksal sorumlulugu kabul etmez. Eger gonderilmesi dusunulen kisi veya kurulus degilseniz, lutfen gonderen kisiyi derhal haberdar ediniz ve mesaji sisteminizden siliniz.
> The information contained in this e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and Yasar Group Companies do not accept legal responsibility for the contents. If you are not the intended recipient, please immediately notify the sender and delete it from your system.
> -
> List info/subscribe/unsubscribe? See
> -
> List info/subscribe/unsubscribe? See


More information about the Freeradius-Users mailing list