RE: Mulitple sql groups or User in Multiple groups

This is a discussion on RE: Mulitple sql groups or User in Multiple groups within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hi again, I just want to clarify my previous email. What I want is to authenticate one user who is ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-08-2006
Stavros Patiniotis
 
Posts: n/a
Default RE: Mulitple sql groups or User in Multiple groups

Hi again,

I just want to clarify my previous email.

What I want is to authenticate one user who is in multiple groups. I am
assuming that the group binding is occurring as a result of the check items,
but this is where it appears to fail. In fact two separate problems are
occurring with point 5 from http://wiki.freeradius.org/Rlm_sql

1. Incorrect radgroupreply items are being returned, dependant on database
row order. I have found that the first group returned from usergroup is used
for the reply, even if that group doesn't match the check items in
radgroupcheck.

2. The user cannot authenticate at all when trying the second or subsequent
groups (as returned from usergroup).

For clarity I am trying to achieve the SQL equivalent of the lines below,
however as we are doing chap I need to have the usernames and passwords
stored in the database (radcheck).

DEFAULT Auth-Type := Local, NAS-IP-Address == "10.0.0.1"
Exec-Program-Wait = "/program for nas1"

DEFAULT Auth-Type := Local, NAS-IP-Address == "10.0.0.2"
Exec-Program-Wait = "/program for nas2"

Is what I am trying to do possible, or is the server code need attention?

PS; What happened to the new website?

Cheers,

Stavros
EscapeNet

-
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 11:26 AM.


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