Account Options

  1. Sign in
Google Groups Home
« Groups Home
Message from discussion Get src-dn from Query
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Father Ramon  
View profile  
 More options Sep 1 2004, 11:25 am
Newsgroups: novell.support.nsure-identity-manager
From: Father Ramon <devfor...@novell.com>
Date: Wed, 01 Sep 2004 15:25:57 GMT
Local: Wed, Sep 1 2004 11:25 am
Subject: Re: Get src-dn from Query
The input transformation is absolutely the wrong place to do this - I
would recommend moving the logic to the publisher command transformation.

The easiest way I know of to get the DN based on the Association is to
use the XPATH token and call the query processor directly. You will need
to make sure the query namespace is defined and then use the following
XPATH expression:

query:readObject($destQueryProcessor, string(association), "",
@class-name, "")/@src-dn

--

Father Ramon
The Patron(izing) Saint of DirXML

martin.riede...@gmx.de wrote:
> I am connecting a Active Directory with eDirectory 8.7.3. If I get a
> Delete Event on the Publisher I don't wanted the User Object to be deleted
> in eDirectory. I only want to remove the association and modify some
> attributes. From the Remote Loader I get a Delete Event with the
> Association. Now I want to get the src-dn of the Object with this
> Association by a query because I need the dn of the Object. In our
> eDirectory there is a Object "ADS" where all User are referenced who have
> an Association with the active Directory. I want to remove the User Object
> from the Object ADS if a Delete Event occurs. I tried it with the
> Expression "Destination Attribute("Surname",class name="User",association
> (Association()))". I read the Surname only because the field is in the
> Definition of the query required. If I check the Trace I see that the
> Query works fine. In the result there is the correct Object mentioned. But
> I have no idea how to get the src-dn of the result of the query. I do this
> action in the Input Transformation. A possible solution could be to try it
> in the Match Policy. But I don't know if it works. So, it would be fine if
> you could tell me how to get the src-dn of the result of the query. Thanks
> for helping

>>How are you doing the query? What have you tried to get the src-dn?
>>--

>>Father Ramon
>>The Patron(izing) Saint of DirXML

>>martin.riede...@gmx.de wrote:

>>>Hello,

>>>My Problem is that I can't write the src-dn of an result of a query in

> a

>>>local variable. I want to solve this Problem with a Policy configuring
>>>some rules. How can I get the value of the src-dn which is delievered

> by

>>>the instance in the reult of the query. I don't want to use an XSLT-
>>>Stylesheet. Thanks for your Help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.