RE: rlm_sql: group table changes

This is a discussion on RE: rlm_sql: group table changes within the FreeRADIUS Users forums, part of the Networking and Network Related category; > > Hmm... That's a good point. I've updated the rlm_sql=20 > > module in CVS 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 04-29-2005
Lucas Aimaretto
 
Posts: n/a
Default RE: rlm_sql: group table changes

> > Hmm... That's a good point. I've updated the rlm_sql=20
> > module in CVS to
> > handle this situation so that it more closely matches the=20
> > users file=20
> > methodology (if there are no check pairs, then the section is=20
> > automatically matched).

>=20
> Thats great! It gives much more flexibility now where it=20
> works like the users file.
>=20
> For rejecting every user that has no matching group profile i=20
> guess my best bet is now to use a DEFAULT profile with=20
> "Auth-Type :=3D Reject" in the db?


I've been reading all related to tables and radcheck, radreply, etc, etc
.... and got to the conclusion that the best and useful way of handling
users and reply atributes is by using stored-procedures, and let the
storedprocedure return a table based on what you want to do. I'm doing
it that way and find it really comfortable and versatile. Do you agree
??

I mean ... you could for example do some scripting with your procedure
and if you want to reject a user, just do your code and "build" a table
and return Auth-Type :=3D Reject. In that way you do not need to have a
table full of reply attributes for each user or eache group.=20

Regards,

Lucas

--=20
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 29/04/2005
=20


-
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:39 AM.


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