I do have the following configuration in postgresql.conf
default_user_profile = "DEFAULT"
query_on_not_found = yes
Do I need other options?
In /etc/raddb/users, I have this profile:
"Presario 2135AD" EAP-Type := EAP-TLS, NAS-IP-Address == 10.1.3.5
In postgresql database, I have following data rows:
11 | Presario 2135AD | EAP-Type | := | EAP-TLS
13 | Presario 2135AD | NAS-IP-Address | == | 10.1.3.5
15 | DEFAULT | Auth-Type | := | Reject
If I use files module, this user will be rejected. If I switch to sql module,
this user will be accepted. How can I tell whether DEFAULT profile choosed or
not while using sql module?
Thanks for your help,
Vincent Chen
---
> Hi, all
>
> I have an DEFAULT entry in /etc/raddb/users like this:
>
> DEFAULT Auth-Type := Reject
>
> It works if no matched entry found in /etc/raddb/users. Now I import some
>of my
> users to postgresql and add a data row like this:
>
> 15 | DEFAULT | Auth-Type | := | Reject
>
> But this time DEFAULT seems not working if stay in database. Can I see if
> DEFAULT entry used if no match found in database? While working with file
> module, I can see 'matched at <line #>' in debug output. Will sql module
> produce similar output?
Check postgresql.conf about the default_user_profile directive.
>
>
> Thanks,
>
> Vincent Chen
>
-----------------------------------------------------------------
Yahoo!奇摩造型精靈
最新的造型精靈簽名檔,讓信件獨具個人色彩!
http://tw.avatar.yahoo.com/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html