[Date Prev][Date Next]
Re: search on a DN typed attribute
On Wed, 10 Oct 2001 18:41:59 +0200
Pierangelo Masarati <firstname.lastname@example.org> 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 ( 184.108.40.206.4.1.106220.127.116.11.0.27.2.1.3 NAME (
> 'eeadminattach' )
> > SYNTAX 18.104.22.168.4.1.1422.214.171.124.12
> > SINGLE-VALUE )
> > objectclass ( 126.96.36.199.4.1.106188.8.131.52.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.