[Date Prev][Date Next]
Re: Problems with ldapsearch
Rocío Walias wrote:
> 'objectclass=s*' there's no response and there are objects beginning with
> s, and the same if I use 'objectclass=*s*'. ¿What's wrong?
Rocío, the attribute type 'objectClass' is described in RFC2256 as:
( 18.104.22.168 NAME 'objectClass' EQUALITY objectIdentifierMatch
SYNTAX 22.214.171.124.4.1.14126.96.36.199.38 )
As you can see, there is no substring matching rule for objectclasses.
As such, your filter evaluates to undefined and no entry matches it.
This may seem bizarre and quite different to what other servers (including
prior versions of OpenLDAP) do but it is what is mandated by RFC2251 in
This particular case traces back, I think, to X.500 where they did not
think necessary a substring match on objectclasses. And they may be
right after all.
No substring matches on distinguished names hurts me more, though.