I have the UserApplication functioning, but with a quirk. On an add for a
new user into eDirectory it seems the new user never gets an association to
the Userapp Driver added. There is a policy in a different driver that
performs a move after certain conditions are met, and after the move
operation on a user it has an association to the Userapp Driver. I have
pasted the transaction for a new user add below. It appears to hit the
Subscriber rule that tells it to Set Association:
[03/09/2012 15:08:54.191] UserApplication ST: Evaluating selection
criteria for rule 'Set Association'.
[03/09/2012 15:08:54.191] UserApplication ST: (if-class-name equal
"User") = TRUE.
[03/09/2012 15:08:54.191] UserApplication ST: Rule selected.
[03/09/2012 15:08:54.192] UserApplication ST: Applying rule 'Set
Association'.
[03/09/2012 15:08:54.192] UserApplication ST: Action:
do-set-op-association(arg-association(""AnAssociation"")).
[03/09/2012 15:08:54.192] UserApplication ST:
arg-association(""AnAssociation"")
[03/09/2012 15:08:54.192] UserApplication ST:
token-text(""AnAssociation"")
[03/09/2012 15:08:54.192] UserApplication ST: Arg Value:
""AnAssociation"".


But then it seems to see the user add event but for some reason thinks it
already has an association:
<input>
<add cached-time="20120309200854.180Z" class-name="User"
event-id="BEIS#Publisher#0:a38af5e6-4d28-4ca9-b755-49431c71764b"
qualified-src-dn="O=utc\OU=Users\OU=Initial\CN=BGW412"
src-dn="\TPATRIOT\utc\Users\Initial\BGW412" src-entry-id="80367"
timestamp="1331323734#1">
<association>"AnAssociation"</association>
</add>
</input>
</nds>
[03/09/2012 15:08:54.194] UserApplication ST:Subscriber processing add for
\TPATRIOT\utc\Users\Initial\BGW412.
[03/09/2012 15:08:54.194] UserApplication ST:Already associated with
"AnAssociation".


After all events finish I check the user and there is NOT an association to
the Userapp driver. Can anyone explain what’s happening? As I say, after a
move event later on, the user gets an association. I really need the
association formed when the user is first added and trying to figure out why
it isn't happening.

Thanks,
Morgan


Transaction Trace:
[03/09/2012 15:08:54.187] UserApplication ST:Start transaction.
[03/09/2012 15:08:54.187] UserApplication ST:type(add-entry)entry-id(80367)
dn(\T=TPATRIOT\O=utc\OU=Users\OU=Initial\CN=BGW412 ) class-id(435)
class-name(User)
[03/09/2012 15:08:54.188] UserApplication ST:Processing events for
transaction.
[03/09/2012 15:08:54.189] UserApplication ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add cached-time="20120309200854.180Z" class-name="User"
event-id="BEIS#Publisher#0:a38af5e6-4d28-4ca9-b755-49431c71764b"
qualified-src-dn="O=utc\OU=Users\OU=Initial\CN=BGW412"
src-dn="\TPATRIOT\utc\Users\Initial\BGW412" src-entry-id="80367"
timestamp="1331323734#1"/>
</input>
</nds>
[03/09/2012 15:08:54.190] UserApplication ST:Applying event transformation
policies.
[03/09/2012 15:08:54.190] UserApplication ST:Applying policy:
NOVLUABASE-sub-etp-ManageModify.
[03/09/2012 15:08:54.190] UserApplication ST: Applying to add #1.
[03/09/2012 15:08:54.191] UserApplication ST: Evaluating selection
criteria for rule 'Set Class Name'.
[03/09/2012 15:08:54.191] UserApplication ST: (if-op-attr
'DirXML-EntitlementResult' changing) = FALSE.
[03/09/2012 15:08:54.191] UserApplication ST: Rule rejected.
[03/09/2012 15:08:54.191] UserApplication ST: Evaluating selection
criteria for rule 'Set Association'.
[03/09/2012 15:08:54.191] UserApplication ST: (if-class-name equal
"User") = TRUE.
[03/09/2012 15:08:54.191] UserApplication ST: Rule selected.
[03/09/2012 15:08:54.192] UserApplication ST: Applying rule 'Set
Association'.
[03/09/2012 15:08:54.192] UserApplication ST: Action:
do-set-op-association(arg-association(""AnAssociation"")).
[03/09/2012 15:08:54.192] UserApplication ST:
arg-association(""AnAssociation"")
[03/09/2012 15:08:54.192] UserApplication ST:
token-text(""AnAssociation"")
[03/09/2012 15:08:54.192] UserApplication ST: Arg Value:
""AnAssociation"".
[03/09/2012 15:08:54.192] UserApplication ST: Evaluating selection
criteria for rule 'Set Entitlement Purge Type'.
[03/09/2012 15:08:54.193] UserApplication ST: (if-op-attr
'DirXML-EntitlementResult' changing) = FALSE.
[03/09/2012 15:08:54.193] UserApplication ST: Rule rejected.
[03/09/2012 15:08:54.193] UserApplication ST:Policy returned:
[03/09/2012 15:08:54.193] UserApplication ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add cached-time="20120309200854.180Z" class-name="User"
event-id="BEIS#Publisher#0:a38af5e6-4d28-4ca9-b755-49431c71764b"
qualified-src-dn="O=utc\OU=Users\OU=Initial\CN=BGW412"
src-dn="\TPATRIOT\utc\Users\Initial\BGW412" src-entry-id="80367"
timestamp="1331323734#1">
<association>"AnAssociation"</association>
</add>
</input>
</nds>
[03/09/2012 15:08:54.194] UserApplication ST:Subscriber processing add for
\TPATRIOT\utc\Users\Initial\BGW412.
[03/09/2012 15:08:54.194] UserApplication ST:Already associated with
"AnAssociation".
[03/09/2012 15:08:54.195] UserApplication ST:Merging eDirectory and
application values.
[03/09/2012 15:08:54.195] UserApplication ST:Reading relevant attributes
from \TPATRIOT\utc\Users\Initial\BGW412.
[03/09/2012 15:08:54.195] UserApplication ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<query class-name="User" dest-dn="\TPATRIOT\utc\Users\Initial\BGW412"
dest-entry-id="80367" scope="entry">
<read-attr attr-name="DirXML-EntitlementResult"/>
</query>
</input>
</nds>
[03/09/2012 15:08:54.196] UserApplication ST:Pumping XDS to eDirectory.
[03/09/2012 15:08:54.196] UserApplication ST:Performing operation query for
\TPATRIOT\utc\Users\Initial\BGW412.
[03/09/2012 15:08:54.196] UserApplication ST:--JCLNT--
\TPATRIOT\utc\IDM\tPatriotDriverSet\UserApplicatio n : Duplicating : context
= 1353449572, tempContext = 1353449597
[03/09/2012 15:08:54.199] UserApplication ST:--JCLNT--
\TPATRIOT\utc\IDM\tPatriotDriverSet\UserApplicatio n : Calling free on
tempContext = 1353449597
[03/09/2012 15:08:54.199] UserApplication ST:Read result:
[03/09/2012 15:08:54.200] UserApplication ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User"
qualified-src-dn="O=utc\OU=Users\OU=Initial\CN=BGW412"
src-dn="\TPATRIOT\utc\Users\Initial\BGW412" src-entry-id="80367"/>
<status level="success"></status>
</output>
</nds>
[03/09/2012 15:08:54.200] UserApplication ST:Updating application with
eDirectory values.
[03/09/2012 15:08:54.201] UserApplication ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User"
event-id="BEIS#Publisher#0:a38af5e6-4d28-4ca9-b755-49431c71764b"
from-merge="true" qualified-src-dn="O=utc\OU=Users\OU=Initial\CN=BGW412"
src-dn="\TPATRIOT\utc\Users\Initial\BGW412" src-entry-id="80367">
<association>"AnAssociation"</association>
<modify-attr attr-name="DirXML-EntitlementResult">
<remove-all-values/>
</modify-attr>
</modify>
</input>
</nds>
[03/09/2012 15:08:54.202] UserApplication ST:No command transformation
policies.
[03/09/2012 15:08:54.202] UserApplication ST:Filtering out notification-only
attributes.
[03/09/2012 15:08:54.202] UserApplication ST:Fixing up association
references.
[03/09/2012 15:08:54.202] UserApplication ST:Applying schema mapping
policies to output.
[03/09/2012 15:08:54.202] UserApplication ST:Applying policy:
NOVLUABASE-smp.
[03/09/2012 15:08:54.203] UserApplication ST: No mapping for class-name
'User'.
[03/09/2012 15:08:54.203] UserApplication ST:No output transformation
policies.
[03/09/2012 15:08:54.203] UserApplication ST:Submitting document to
subscriber shim:
[03/09/2012 15:08:54.203] UserApplication ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User"
event-id="BEIS#Publisher#0:a38af5e6-4d28-4ca9-b755-49431c71764b"
from-merge="true" qualified-src-dn="O=utc\OU=Users\OU=Initial\CN=BGW412"
src-dn="\TPATRIOT\utc\Users\Initial\BGW412" src-entry-id="80367">
<association>"AnAssociation"</association>
<modify-attr attr-name="DirXML-EntitlementResult">
<remove-all-values/>
</modify-attr>
</modify>
</input>
</nds>
[03/09/2012 15:08:54.204] UserApplication ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User"
event-id="BEIS#Publisher#0:a38af5e6-4d28-4ca9-b755-49431c71764b"
from-merge="true" qualified-src-dn="O=utc\OU=Users\OU=Initial\CN=BGW412"
src-dn="\TPATRIOT\utc\Users\Initial\BGW412" src-entry-id="80367">
<association>"AnAssociation"</association>
<modify-attr attr-name="DirXML-EntitlementResult">
<remove-all-values/>
</modify-attr>
</modify>
</input>
</nds>
[03/09/2012 15:08:54.205] UserApplication
ST:ComposerDriverShim\SubscriberShim: execute() calling Composer WebService:
Execute
[03/09/2012 15:08:54.417] UserApplication ST:SubscriptionShim.execute()
returned:
[03/09/2012 15:08:54.418] UserApplication ST:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product build="0.20100915.102923" instance="Seafang" version="4.0">User
Application Driver</product>
<contact>Novell Inc.</contact>
</source>
<output>
<status level="success"/>
</output>
</nds>
[03/09/2012 15:08:54.418] UserApplication ST:Applying input transformation
policies.
[03/09/2012 15:08:54.418] UserApplication ST:Applying XSLT policy:
NOVLUABASE-its-IdentityTransformation.
[03/09/2012 15:08:54.419] UserApplication ST:Policy returned:
[03/09/2012 15:08:54.419] UserApplication ST:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product build="0.20100915.102923" instance="Seafang" version="4.0">User
Application Driver</product>
<contact>Novell Inc.</contact>
</source>
<output>
<status level="success"/>
</output>
</nds>
[03/09/2012 15:08:54.420] UserApplication ST:Applying XSLT policy:
NOVLUABASE-its-PurgeEntitlements.
[03/09/2012 15:08:54.420] UserApplication ST:Policy returned:
[03/09/2012 15:08:54.421] UserApplication ST:
<nds dtdversion="2.0" ndsversion="8.x">
<source>
<product build="0.20100915.102923" instance="Seafang" version="4.0">User
Application Driver</product>
<contact>Novell Inc.</contact>
</source>
<output>
<status level="success"/>
</output>
</nds>
[03/09/2012 15:08:54.421] UserApplication ST:Applying schema mapping
policies to input.
[03/09/2012 15:08:54.421] UserApplication ST:Applying policy:
NOVLUABASE-smp.
[03/09/2012 15:08:54.422] UserApplication ST:Resolving association
references.
[03/09/2012 15:08:54.422] UserApplication ST:Processing returned document.
[03/09/2012 15:08:54.422] UserApplication ST:Processing operation <status>
for .
[03/09/2012 15:08:54.422] UserApplication ST:
DirXML Log Event -------------------
Driver: \TPATRIOT\utc\IDM\tPatriotDriverSet\UserApplicatio n
Channel: Subscriber
Object: \TPATRIOT\utc\Users\Initial\BGW412
Status: Success
[03/09/2012 15:08:54.423] UserApplication ST:End transaction.