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

Re: Problem with Limits in slapd.conf



On Sat, Jul 22, 2006 at 06:29:52AM -0700, Quanah Gibson-Mount wrote:
> No one else has replied to this, I'll note a long thread on this issue at:
> 
> <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/2006-July/000472.html>

I found my problem ! I had placed the limits statement in the global
section of the config file, once I moved it into the db section it
started to work.



> 
> In summary, it works for me, but not for Alexander, and additional insight 
> into this welcome.
> 
> --Quanah
> 
> --On Thursday, July 20, 2006 7:56 AM +1000 Alexander Samad 
> <alex@samad.com.au> wrote:
> 
> >Hi
> >
> >I am using slapd debian package 2.3.24-1 on amd64 etch.
> >
> >I have tried using the limits command to allow for queries past 500.
> >
> >when I tried using ldapsearch -x -b "<basedn>" I recieved an error 4
> >sizelimit when it tried to retrieve record #4.
> >
> >
> >I wanted to raise the limit but only for certain users so I used
> >
> >limits dn.exact="cn=Global Address Book
> >Admin,ou=Roles,dc=samad,dc=com,dc=au" size=1000 limits
> >dn.subtree="dc=samad,dc=com,dc=au" size=1000
> >limits users  size=1000
> >
> >
> >I tried each one seperately and with size.soft size.hard and values of
> >unlimited and 0 and -1
> >
> >but I kept getting the same error.
> >
> >Just for testing I tried sizelimits 1000 and it all worked
> >
> >
> >I have placed these commands after the schema includes, I have tried
> >placing them in the backend section but that raised an error
> >
> >
> >Thanks
> >Alex
> 
> 
> 
> --
> Quanah Gibson-Mount
> Principal Software Developer
> ITS/Shared Application Services
> Stanford University
> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
> 

Attachment: signature.asc
Description: Digital signature