[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
size and count limit for slapo-constraint (patch included)
- To: openldap-devel@openldap.org
- Subject: size and count limit for slapo-constraint (patch included)
- From: manu@netbsd.org (Emmanuel Dreyfus)
- Date: Sat, 3 May 2008 13:46:45 +0200
- User-agent: MacSOUP/2.7 (unregistered for 469 days)
ftp.openldap.org has not enough room for me to upload the patch, so I'll
make the ITS later.
Here is it:
http://ftp.espci.fr/shadow/manu/manu-20080430.patch
Both size and count limit on attributes work, I tested various
situations. There is just a bit I'm not sure about:
+ op->o_bd = on->on_info->oi_origdb;
+ rc = be_entry_get_rw( op, &op->o_req_ndn, NULL,
NULL, 0, &target_entry );
+ op->o_bd = be;
Is it the way I'm supposed to get an entry for which I have a DN? It
works, but it might be suboptimal.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org