Re: Problems with aliases and searches

Colin Robbins <c.robbins@xtel.co.uk> Mon, 23 March 1992 09:13 UTC

Received: from nri.nri.reston.va.us by ietf.NRI.Reston.VA.US id ab01088; 23 Mar 92 4:13 EST
Received: from nri.reston.va.us by NRI.Reston.VA.US id aa21434; 23 Mar 92 4:15 EST
Received: from bells.cs.ucl.ac.uk by NRI.Reston.VA.US id aa21430; 23 Mar 92 4:15 EST
X400-Received: by mta bells.cs.ucl.ac.uk in /PRMD=uk.ac/ADMD=gold 400/C=gb/; Relayed; Mon, 23 Mar 1992 08:27:43 +0000
Date: Mon, 23 Mar 1992 08:27:43 +0000
X400-Originator: osi-ds-request@cs.ucl.ac.uk
X400-Recipients: non-disclosure:;
X400-MTS-Identifier: [/PRMD=uk.ac/ADMD=gold 400/C=gb/; bells.cs.u.421:23.02.92.08.27.43]
Priority: Non-Urgent
DL-Expansion-History: osi-ds@cs.ucl.ac.uk ; Mon, 23 Mar 1992 08:27:43 +0000;
From: Colin Robbins <c.robbins@xtel.co.uk>
Message-ID: <"9327 Mon Mar 23 08:27:33 1992"@xtel.co.uk>
To: Steve Hardcastle-Kille <S.Kille@cs.ucl.ac.uk>
Cc: osi-ds@cs.ucl.ac.uk, g.lunt@xtel.co.uk, p.hennessy@xtel.co.uk
In-Reply-To: <11662.701135356@UK.AC.UCL.CS>
Subject: Re: Problems with aliases and searches


   >Right, but after you get the DN from the search, you can do a read
   >(sometimes a second with "dont derfer aliases" set) in orxder to 
   >find the exact situation. 


NO.  The DN you get back is the DN of the entry, not the DN of the
alias.

In the example I gave 

   l=europe @ o=Cosine @ ou=paradise @ cn = Colin Robbins

is an alias pointing to 

   c=GB @ o=X-Tel Services Ltd @ cn=Colin Robbins

If I subtree search below l=Europe @ o=Cosine the search will return
the DN  c=GB @ o=X-Tel Services Ltd @ cn=Colin Robbins.   I have no
way of finding out that this was returned because of the 
l=europe @ o=Cosine @ ou=paradise @ cn = Colin Robbins alias.

Also, in my example, I suggested a search for
"alias object name = c=GB @ o=X-Tel Services Ltd @ cn=Colin Robbins",
would solve the problem.  Having thought about it a bit more, I
realise even this will not work if there are multiple aliases in the
subtree.

I still believe there is a real problem with managing aliases in the
DIT using DAP alone.


Colin