[Date Prev][Date Next]
Re: Setting limits on an ou, only
--On Thursday, August 31, 2006 8:10 AM -0700 Atom Powers
Quanah Gibson-Mount wrote:
--On Wednesday, August 30, 2006 8:44 PM -0700 Atom Powers
It is possible to set limits on an ou that are different from the
I would like to set default limit of 1 entry returned, but I have an
application that needs to be able to get all data in my ou=people.
Yes, it is possible. Have you read the slapd.conf man page?
limits <who> <limit> [<limit> [...]]
Specify time and size limits based on who initiated an
operation. The argument who can be any of...
Sure, I can use that to set a limit for a user but this application needs
to bind anonymously (or the equivalent of anonymous, since the
credentials would have to be public).
I couldn't find anything in the limits directive that would let me
specify a part of the directory to set the limit on. Something like:
When searching the directory, return only 1 result.
Unless searching ou=people, then return all results.
Please keep replies to the list.
Sounds like an interesting problem, I don't know the solution to that one.
Principal Software Developer
ITS/Shared Application Services
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html