Received: from smtp2.cistron.nl ([10.5.2.191])
          by sr.railnet.gov.in (Lotus Domino Build 166.1)
          with SMTP id 2002111422191700:1146 ;
          Thu, 14 Nov 2002 22:19:17 +0530 
Received: from localhost ([127.0.0.1] helo=lwaxana.cistron.net)
	by smtp2.cistron.nl with esmtp (Exim 3.35 #1 (Debian))
	id 18CNB1-0007Jz-00; Thu, 14 Nov 2002 17:49:11 +0100
Received: from diomedes.noc.ntua.gr ([147.102.222.220])
	by smtp2.cistron.nl with esmtp (Exim 3.35 #1 (Debian))
	id 18CNAZ-0007GY-00
	for <freeradius-users@lists.cistron.nl>; Thu, 14 Nov 2002 17:48:43 +0100
Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1])
	by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id gAEGmg216393
	for <freeradius-users@lists.cistron.nl>; Thu, 14 Nov 2002 18:48:42 +0200 (EET)
Received: from ajax (ajax [147.102.220.1])
	by ajax.noc.ntua.gr (8.12.6/8.12.5) with ESMTP id gAEGmdts097054
	for <freeradius-users@lists.cistron.nl>; Thu, 14 Nov 2002 18:48:39 +0200 (EET)
	(envelope-from K.Kalevras@noc.ntua.gr)
From: Kostas Kalevras <kkalev@noc.ntua.gr>
To: freeradius-users@lists.cistron.nl
Subject: Re: Tuning freeRadius 
In-Reply-To: <E18CMv0-0001zZ-00@giles.striker.ottawa.on.ca>
MIME-Version: 1.0
Sender: freeradius-users-admin@lists.cistron.nl
Errors-To: freeradius-users-admin@lists.cistron.nl
X-BeenThere: freeradius-users@lists.cistron.nl
X-Mailman-Version: 2.0.11
Precedence: bulk
Reply-To: freeradius-users@lists.cistron.nl
List-Help: <mailto:freeradius-users-request@lists.cistron.nl?subject=help>
List-Post: <mailto:freeradius-users@lists.cistron.nl>
List-Subscribe: <http://lists.cistron.nl/mailman/listinfo/freeradius-users>,
	<mailto:freeradius-users-request@lists.cistron.nl?subject=subscribe>
List-Id: FreeRadius users mailing list <freeradius-users.lists.cistron.nl>
List-Unsubscribe: <http://lists.cistron.nl/mailman/listinfo/freeradius-users>,
	<mailto:freeradius-users-request@lists.cistron.nl?subject=unsubscribe>
List-Archive: <http://lists.cistron.nl/pipermail/freeradius-users/>
Date: Thu, 14 Nov 2002 18:48:39 +0200 (EET)
X-MIMETrack: Itemize by SMTP Server on sr/Railnet(Release 5.0 (Intl)|30 March 1999) at
 11/14/2002 10:19:17 PM,
	Serialize by Router on sr/Railnet(Release 5.0 (Intl)|30 March 1999) at 11/14/2002
 10:19:17 PM,
	Serialize complete at 11/14/2002 10:19:17 PM,
	Serialize by POP3 Server on sr/Railnet(Release 5.0 (Intl)|30 March 1999) at
 11/15/2002 09:49:31 AM,
	Serialize complete at 11/15/2002 09:49:31 AM
Message-ID: <20021114184550.L62119-100000@ajax.noc.ntua.gr>
X-Priority: 3 (Normal)
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 14 Nov 2002, Alan DeKok wrote:

> "Michael Fuller" <fullerms@sr.railnet.gov.in> wrote:
> > I have implemented freeRadius 0.71 with LDAP authentication and
> > authorization. The system is working fine for the past two months. Now, I
> > want to implement per day time quotas for users. How can I do this ? I saw
> > some references to
> > Max-Daily- session in Radiusd.conf, but how can I implement this with LDAP ?

Add a radiusmaxdailysession attribute in your ldap schema and in the
radiusprofile objectclass, add it in ldap.attrmap as a checkItem for
Max-Daily-Session, add the counter module in the instantiate section and in
the authorize section after the ldap module and it should work.

>
>   I don't know.  The rlm_counter module does this, though.
>
> > The NAS fails over to the secondary radius server when the primary fails.
> > How to ensure that it reverts back to primary when the primary comes up ?
>
>   That's up to the NAS.
>
> > Some time ago, there was a query on how to stop radius from replying if the
> > LDAP server dies. Kostas Kalevras did give a reply on this. Can I get the
> > answer again please ?
>
>   Grab the latest CVS snapshot, and see 'doc/configurable_failover'
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

--
Kostas Kalevras		Network Operations Center
kkalev@noc.ntua.gr	National Technical University of Athens, Greece
Work Phone:		+30 210 7721861
'Go back to the shadow'	Gandalf


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


