Bluehost.com Web Hosting $6.95

trivial problem?

This is a discussion on trivial problem? within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hello, I'm fairly new to freeradius so to some my problem may seem trivial, but ... I'm trying to ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-22-2006
Yans van Horn
 
Posts: n/a
Default trivial problem?

Hello,

I'm fairly new to freeradius so to some my problem may seem trivial, but ...

I'm trying to get EAP-TLS to work, and when using "file" setup everything
works as it's suppose to - only selected users can authorize after meeteing
check criteria.

When i switch to SQL (postgresql) it seems that no matter what i insert to
radcheck and radreply tables *any user (if he has valid cert) can authorize
without any problems* :-(

Can anybody shed some light on this issue ?

My configuration:

### USERS ###

"ajax" Auth-Type := EAP, Calling-Station-Id == "some-valid-mac"

# "ajax" Auth-Type := EAP, Calling-Station-Id == "some-invalid-mac"

DEFAULT Auth-Type := Reject
Reply-Message = "ACCESS DENIED"

### SQL ###

radius=> select * from radcheck;
id | username | attribute | op | value
-----+----------+--------------------+----+---------------
410 | ajax | Auth-Type | := | EAP
411 | ajax | Calling-Station-ID | == | some-INVALID-mac
412 | DEFAULT | Auth-Type | := | Reject
(3 rows)

radius=> select * from radreply;
id | username | attribute | op | value
----+----------+---------------+----+---------------
3 | DEFAULT | Reply-Message | = | ACCESS DENIED
(1 row)


All other tables are _empty_

### postgresql.conf ###

Is a default postgresql.conf from freeradius (with database connection
settings set)

### radiusd.conf ###

authorize {
preprocess

suffix

eap
sql
# files
}

authenticate {
eap
}

--
best regards,
Marcin 'Yans' Bazarnik

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0