LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 05-Nov-2009, 05:39 PM
geoffc's Avatar
 
Join Date: Dec 2007
Location: Teaneck, NJ
Posts: 915
geoffc 20-29 reputation pointsgeoffc 20-29 reputation pointsgeoffc 20-29 reputation points
Default Re: LDAP Query in Policy

Ah the joys of tokens.

Use the set operational property token to set it.

Then use the set local variable and the Operation Property noun to get
it back out later.

No need for any of this work, it is all built in!

I still discover new tokens, even today!

michael ballanco wrote:
> Thank you both for your help, I'm almost there! My endpoint actually
> stores the user's DN so I am now having the endpoint send the User DN
> upon a successful creation. That allows me to insert the User DN into
> the <status> message as <operation-data> in one of two ways. Below are
> my two options:
>
> <status event-id="hhs-idm#20080530211157#1#3" level="success"
> type="add">
> <operation-data>
> <userDN>\IDVAULT\Container\Users13\User1</userDN>
> </operation-data>
> </status>
>
> or
>
> <status event-id="hhs-idm#20080530213033#1#3" level="success"
> type="add">
> <operation-data userDN="\IDVAULT\Container\Users13\User1"/>
> </status>
>
> Which way makes more sense and then how do I pull the DN and put it
> into a query? Is it something like this:
>
> <token-query datastore="dest" scope="entry">
> <arg-dn>
> <token-xpath expression="@userDN"/>
> </arg-dn>
> <arg-string>
> <token-text xml:space="preserve">Internet EMail
> Address</token-text>
> </arg-string>
> </token-query>
>
>

Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:43 AM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2