[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Searching by index attributte
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have objects with 2 id attributes, so my objects are named
dn: id1=v1, s1=...........
id1: v1
id2: v2
When I try to search objects based on the first identifier, I use the DN
notation. "id1=xxxx,s1........."
But if I try to search objects, based on the secon identifier, I use
"s1=...." as DN and "id2=v2" as filter, but it takes too much time.
In my slapd.conf I have
index id1,id2 eq
How can I search for objects knowing only the id2 identifier?
Thanks a lot !!!
________________________________________________________
Wanadoo España
Sistemas y Servicios / Servicios de Valor Añadido
Vicente Martínez Martínez / vmartinez@es.wanadoo.com
Tel: +34 96 504 00 45 - Fax: +34 96 504 00 47
http://www.wanadoo.es (Web)
http://wanadoogo.com (Wap)
________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPATnb+xS7D2tCBWMEQKfpwCfebDw5C7W1fIPuJOjSp12mvv0eJEAnjZF
S4WGdGDXQCiiQHijv8hGPNQ4
=OLQd
-----END PGP SIGNATURE-----