[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: why doesn't this filter work
Ian Macdonald wrote:
> On Mon 19 Aug 2002 at 17:29:46 -0400, you wrote:
>
> > Previously, Ian Macdonald wrote:
> > >
> > > I used the following to try to obtain a listing of all users whose
> > > home directory ends in a trailing slash:
> > >
> > > $ ldapsearch -LLLxh foo -b ou=people,dc=google,dc=com \
> > > '(homedirectory=*/)' 'homedirectory'
> >
> > homeDirectory doesn't have a SUBSTR rule, so you can't use a substring
> > search on it (only equality or presence filters).
>
> So why do substring searches work when the filter does not contain a
> slash?
when the filter does not contain the slash like above, it's a present search
NOT substring search
present search filter pattern (attr =* )
please consult the rfc2254
http://www.ietf.org/rfc/rfc2254.txt
regards,
Un