Re: User in multiple groups with different login time

2009-05-14 Thread Pramada Batchu
Can you give an example of script? Also how should the script be invoked? Thanks, Pramada I am trying to assign one user to multiple groups and each group has a different login time. Is it possible to check the user against each group's login time and allow access if anyone of them matches

Re: User in multiple groups with different login time

2009-05-14 Thread Ivan Kalik
Can you give an example of script? Also how should the script be invoked? Freeradius *is* open source - rlm_logintime. Your problem is that rlm_logintime doesn't support multiple intervals in the same day - you will need to rework it so that you can pull each interval from the group user

User in multiple groups with different login time

2009-05-13 Thread Pramada Batchu
Hi, I am trying to assign one user to multiple groups and each group has a different login time. Is it possible to check the user against each group's login time and allow access if anyone of them matches. I tried using DEFAULT and matching GROUP-NAME in users file with fall-through option

Re: User in multiple groups with different login time

2009-05-13 Thread Ivan Kalik
I am trying to assign one user to multiple groups and each group has a different login time. Is it possible to check the user against each group's login time and allow access if anyone of them matches. No. Login-Time can't be used like that. You will have to write a script that checks

RE: Mulitple sql groups or User in Multiple groups

2006-12-08 Thread Stavros Patiniotis
DEFAULT Auth-Type := Local, NAS-IP-Address == 10.0.0.1 Exec-Program-Wait = /program for nas1 You don't need to set Auth-Type. In the SQL database I am not setting it, its merely the NAS IP. And if the per-NAS configuration is fairly static, you can use rlm_passwd to map NAS to

RE: Mulitple sql groups or User in Multiple groups

2006-12-07 Thread Stavros Patiniotis
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

Re: Mulitple sql groups or User in Multiple groups

2006-12-07 Thread Alan DeKok
Stavros Patiniotis wrote: 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 =

SQL user in multiple groups

2006-09-01 Thread Pavel D. Kuzin
Hello! Anybody uses user in multiple groups with SQL backend? -- Pavel D.Kuzin System Administrator Nodex ISP St. Petersburg, Russia [EMAIL PROTECTED] http://nodex.ru - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: User in Multiple Groups

2006-04-07 Thread Phil Mayers
] In-Reply-To: [EMAIL PROTECTED] Subject: User in Multiple Groups I changed radcheck to have := instead of ==. No change. First query returns: ++--+--+-++ | id | GroupName| Attribute| Value | op

Re: User in Multiple Groups

2006-04-07 Thread Scott Reed
: Re: User in Multiple Groups Scott Reed wrote: I did not usurp a thread, I reposted my own. Really? How odd: Message-ID: [EMAIL PROTECTED] From: debik [EMAIL PROTECTED] Subject: Re: Couldn't stop freeradius server!! From: Scott Reed [EMAIL PROTECTED] Date

Re: User in Multiple Groups

2006-04-07 Thread Scott Reed
Message-Id: [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] Subject: User in Multiple Groups I changed radcheck to have := instead of ==. No change. First query returns: ++--+--+-++ | id | GroupName| Attribute| Value

Re: User in Multiple Groups

2006-04-07 Thread Phil Mayers
Scott Reed wrote: OK, Phil, you got me. I thought all I did was copy the to address, but must have used a reply instead. Sorry. Grin - it was not my intention to get you. I'm certainly not the mailing list police. The only reason I mentioned it is that I (and I suspect many) people drop

Re: User in Multiple Groups

2006-04-06 Thread Phil Mayers
Scott Reed wrote: I have searched the archive and came close to figuring this out, but I have not Don't start your query as part of another thread please. Configuration tables: 1 USERGROUP 2 80 sreed MS1-AP1 3 76 treed MS1-AP1 4 78 sreed

Re: User in Multiple Groups

2006-04-06 Thread Scott Reed
--- From: Phil Mayers [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thu, 06 Apr 2006 13:22:39 +0100 Subject: Re: User in Multiple Groups Scott Reed wrote: I have searched the archive and came close to figuring this out, but I have

Re: User in Multiple Groups

2006-04-06 Thread Scott Reed
-- Original Message --- From: Scott Reed [EMAIL PROTECTED] To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Thu, 6 Apr 2006 07:54:08 -0500 Subject: Re: User in Multiple Groups I did not usurp a thread, I reposted my own. I changed radcheck to have

User in Multiple Groups

2006-04-05 Thread Scott Reed
I have searched the archive and came close to figuring this out, but I have not been able to get a user to exist in 2 groups and have each authenticate.  I have one set of systems that need Login-User and then reply with one set of responses and another set that need Framed-User and reply with