[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch don't work correctly with "*" in the filter
Hi.
I have instaled OpenLDAP 2.1.25 on Linux Red Hat 7.3.
I have defined the next classes:
objectclass ( 1.1.2.2.1 NAME 'eba-instancia'
SUP top
MUST ( eba-id ))
objectclass ( 1.1.2.2.6 NAME 'eba-instancia-red'
SUP eba-instancia
MUST ( eba-other ))
objectclass ( 1.1.2.2.6 NAME 'eba-instancia-black'
SUP eba-instancia
MUST ( eba-other ))
and in my OpenLDAP there are multiple objects of these
classes.
Does anyone know why these sentences don't work? (they don't
find any objects):
> ldapsearch -x -b 'base' '(objectClass=eba-instancia*)'
> ldapsearch -x -b 'base'
'(objectClass=eba-instancia*red)'
but these sentences work fine (they find the correctly
object):
> ldapsearch -x -b 'base'
'(objectClass=eba-instancia-red)'
> ldapsearch -x -b 'base'
'(objectClass=eba-instancia-black)'
It seems that the * character in the filter doesn't work with
the objectClass
attribute, but this character works well with any other
attribute (cn, sn, ....).
Thank you for your help.
Mar Huerta
begin:vcard
n:Huerta Alvarez;M. Mar
tel;work:913374851
x-mozilla-html:FALSE
url:www.tid.es
org:Telefónica I+D;Aplicaciones e-Business
adr:;;Emilio Vargas, 6;Madrid - 28043;;;España
version:2.1
email;internet:huerta@tid.es
title:<img src="http://195.235.92.3/images/telefonica.gif"><br>
fn:Mar Huerta Alvarez
end:vcard