[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4440) Feature Request: Addition to the 'limits' command, 'idle' that allows you to override the default idletimeout

--On Monday, March 20, 2006 2:48 PM +0000 ando@sys-net.it wrote:

>> Full_Name: Quanah Gibson-Mount
>> Version: NA
>> OS: NA
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (
>> A lot of the slapd.conf limitation settings allow you to override them
>> using the
>> "limits" command.
>> For example, I can allow particular dn's or groups to have an unlimited
>> sizelimit even if my default sizelimit is 500, or they can have unlimited
>> time
>> to perform searches.  However, there does not seem to be a way to
>> override the
>> idletimeout setting for particular dns/groups.
>> Having this capability would be very useful (I want to allow some
>> particular
>> clients to have persistent connections without having to rebind every 30
>> seconds).
> Something like
> diff -u -r1.350 connection.c
> --- servers/slapd/connection.c  8 Mar 2006 04:54:10 -0000       1.350
> +++ servers/slapd/connection.c  20 Mar 2006 14:38:30 -0000

Yes, exactly! :)

> ... plus lots of stuff to have a working Operation * structure passed to
> limits_get, so that groups and other means to collect limits based on
> internal operations work.  I note that connections have no notion of a
> backend serving them; it might be appropriate to consider the authorizing
> backend since the limit is based on the DN of the connection.

Hm, I thought the various "limit" lines were on a per-backend basis.  If 
they aren't, that's fine with me.


Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html