[Date Prev][Date Next]
Re: search on a DN typed attribute
On Wed, 10 Oct 2001 18:41:59 +0200
Pierangelo Masarati <email@example.com> wrote:
> "Michaël Parienti" wrote:
> > I would like to perform a search on an attribute which is a
> > 'DN attribute'. Here is a subset of my schema:
> > attributetype ( 22.214.171.124.4.1.106126.96.36.199.0.27.2.1.3 NAME (
> 'eeadminattach' )
> > SYNTAX 188.8.131.52.4.1.14184.108.40.206.12
> > SINGLE-VALUE )
> > objectclass ( 220.127.116.11.4.1.10618.104.22.168.0.27.2.2.1 NAME 'eeperson' SUP
> person STRUCTURAL
> > MAY ( gn $ mail $ title $ eeadminattach ) )
> > The attribute 'eeadminattach' is the DN of another entry in
> > my directory.
> > Now, I want to get all the people whose 'eeadminattach' has
> > the following DN: 'cn=Ouest,dc=easter-eggs,dc=com'. How do I
> > write the filter to perform this search ?
> > I tried:
> > p5adminattach=cn=Ouest,dc=easter-eggs,dc=com
> > p5adminattach=cn=Ouest\,dc=easter-eggs\,dc=com
> According to your mail, you are using a wrong attribute type;
> you should filter for
Of course I made a typing mistake. What I tried was:
It didn't work, and I don't know why.
I escaped the commas, because I didn't know what to do.
I wonder if there is a special syntax to make search with
attribute which are 'DN typed'. So I ask the question to this
mailing list, hoping to have an answer.