Good Morning,
I have a AD driver that when we try to reset street address it just keeps on looping. We do this Via policy as you can see in the trace below. I just do not understand why it does not see it as equal I have been looking and looking around to try to resolve this but coming up empty. I have taken some items out for privacy.
Any help would be greatly appreciated
[11/02/22 05:31:21.445]:AD PT::
<nds dtdversion="2.2">
<source>
<product build="20180125_120000" instance="" version="4.1.2.0">AD</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<modify class-name="user" event-id="AD##18438531b5d##0" src-dn="CN=\, Ka(XXXXX9),OU=People,DC=com">
<association>03c823e4144e8c418ed655c0fdf22768</association>
<modify-attr attr-name="streetAddress">
<remove-all-values/>
<add-value>
<value naming="false" type="string">Royal Australian Air Force Base
South Amberley Road</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[11/02/22 05:31:21.447]:AD PT::Applying policy: %+C%14CHandleWriteBackAttributes%-C.
[11/02/22 05:31:21.447]:AD PT:: Applying to modify #1.
[11/02/22 05:31:21.447]:AD PT:: Evaluating selection criteria for rule 'LoginExpires '.
[11/02/22 05:31:21.447]:AD PT:: (if-operation equal "modify") = TRUE.
[11/02/22 05:31:21.447]:AD PT:: Rule selected.
[11/02/22 05:31:21.448]:AD PT:: Applying rule 'LoginExpires '.
[11/02/22 05:31:21.448]:AD PT:: Action: do-set-local-variable("lvAcctExp",scope="policy",token-op-attr("accountExpires")).
[11/02/22 05:31:21.448]:AD PT:: arg-string(token-op-attr("accountExpires"))
[11/02/22 05:31:21.449]:AD PT:: token-op-attr("accountExpires")
[11/02/22 05:31:21.450]:AD PT:: Token Value: "".
[11/02/22 05:31:21.450]:AD PT:: Arg Value: "".
[11/02/22 05:31:21.450]:AD PT:: Action: do-if().
[11/02/22 05:31:21.450]:AD PT:: Evaluating conditions.
[11/02/22 05:31:21.451]:AD PT:: (if-local-variable 'lvAcctExp' not-equal "") = FALSE.
[11/02/22 05:31:21.451]:AD PT:: Performing else actions.
[11/02/22 05:31:21.451]:AD PT:: Action: do-trace-message(level="3",token-local-variable("lvAcctExp")).
[11/02/22 05:31:21.451]:AD PT:: arg-string(token-local-variable("lvAcctExp"))
[11/02/22 05:31:21.451]:AD PT:: token-local-variable("lvAcctExp")
[11/02/22 05:31:21.452]:AD PT:: Token Value: "".
[11/02/22 05:31:21.452]:AD PT:: Arg Value: "".
[11/02/22 05:31:21.452]:AD PT::
[11/02/22 05:31:21.452]:AD PT:: Evaluating selection criteria for rule 'Full Name - displayName 11042016 JC'.
[11/02/22 05:31:21.452]:AD PT:: (if-operation equal "modify") = TRUE.
[11/02/22 05:31:21.452]:AD PT:: (if-op-attr 'displayName' changing) = FALSE.
[11/02/22 05:31:21.453]:AD PT:: Rule rejected.
[11/02/22 05:31:21.453]:AD PT:: Evaluating selection criteria for rule 'SA - streetAddress 11302016 JC'.
[11/02/22 05:31:21.453]:AD PT:: (if-operation equal "modify") = TRUE.
[11/02/22 05:31:21.453]:AD PT:: (if-op-attr 'streetAddress' changing) = TRUE.
[11/02/22 05:31:21.473]:AD PT:: (if-association associated) = TRUE.
[11/02/22 05:31:21.473]:AD PT:: Rule selected.
[11/02/22 05:31:21.473]:AD PT:: Applying rule 'SA - streetAddress 11302016 JC'.
[11/02/22 05:31:21.473]:AD PT:: Action: do-set-local-variable("streetAddress",scope="policy",token-op-attr("streetAddress")).
[11/02/22 05:31:21.473]:AD PT:: arg-string(token-op-attr("streetAddress"))
[11/02/22 05:31:21.473]:AD PT:: token-op-attr("streetAddress")
[11/02/22 05:31:21.474]:AD PT:: Token Value: "Royal Australian Air Force Base
South Amberley Road".
[11/02/22 05:31:21.474]:AD PT:: Arg Value: "Royal Australian Air Force Base
South Amberley Road".
[11/02/22 05:31:21.474]:AD PT:: Action: do-if().
[11/02/22 05:31:21.474]:AD PT:: Evaluating conditions.
[11/02/22 05:31:21.474]:AD PT:: Query from policy
[11/02/22 05:31:21.475]:AD PT::
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.8.2.1">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<query class-name="user" scope="entry">
<association>03c823e4144e8c418ed655c0fdf22768</association>
<read-attr attr-name="ngcExcludeUser"/>
<read-attr attr-name="SA"/>
</query>
</input>
</nds>
[11/02/22 05:31:21.476]:AD PT:: Pumping XDS to eDirectory.
[11/02/22 05:31:21.476]:AD PT:: Performing operation query for .
[11/02/22 05:31:21.480]:AD PT:: --JCLNT-- - Publisher : Calling free on tempContext = 754057431
[11/02/22 05:31:21.487]:AD PT:: Query from policy result
[11/02/22 05:31:21.487]:AD PT::
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.8.2.1">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<instance class-name="User" event-id="0" qualified-src-dn="" src-dn="" src-entry-id="588008">
<association state="associated">03c823e4144e8c418ed655c0fdf22768</association>
<attr attr-name="SA">
<value timestamp="1662363022#108" type="string">Royal Australian Air Force Base
South Amberley Road</value>
</attr>
</instance>
<status event-id="0" level="success"></status>
</output>
</nds>
[11/02/22 05:31:21.489]:AD PT:: Expanded variable reference '$streetAddress$' to 'Royal Australian Air Force Base
South Amberley Road'.
[11/02/22 05:31:21.489]:AD PT:: (if-dest-attr 'SA' not-equal "$streetAddress$") = TRUE.
[11/02/22 05:31:21.489]:AD PT:: (if-dest-attr 'ngcExcludeUser' not-equal "yes") = TRUE.
[11/02/22 05:31:21.489]:AD PT:: Performing if actions.
[11/02/22 05:31:21.490]:AD PT:: Action: do-set-local-variable("destSA",scope="policy",token-dest-attr("SA")).
[11/02/22 05:31:21.490]:AD PT:: arg-string(token-dest-attr("SA"))
[11/02/22 05:31:21.490]:AD PT:: token-dest-attr("SA")
[11/02/22 05:31:21.490]:AD PT:: Token Value: "Royal Australian Air Force Base
South Amberley Road".
[11/02/22 05:31:21.490]:AD PT:: Arg Value: "Royal Australian Air Force Base
South Amberley Road".
[11/02/22 05:31:21.491]:AD PT:: Action: do-if().
[11/02/22 05:31:21.491]:AD PT:: Evaluating conditions.
[11/02/22 05:31:21.491]:AD PT:: (if-xpath true "string-length($destSA) > 0") = TRUE.
[11/02/22 05:31:21.491]:AD PT:: Performing if actions.
[11/02/22 05:31:21.491]:AD PT:: Action: do-set-src-attr-value("streetAddress",token-local-variable("destSA")).
[11/02/22 05:31:21.492]:AD PT:: arg-string(token-local-variable("destSA"))
[11/02/22 05:31:21.492]:AD PT:: token-local-variable("destSA")
[11/02/22 05:31:21.492]:AD PT:: Token Value: "Royal Australian Air Force Base
South Amberley Road".
[11/02/22 05:31:21.492]:AD PT:: Arg Value: "Royal Australian Air Force Base
South Amberley Road".
[11/02/22 05:31:21.493]:AD PT:: Action: do-set-local-variable("adModified",scope="policy","true").
[11/02/22 05:31:21.493]:AD PT:: arg-string("true")
[11/02/22 05:31:21.493]:AD PT:: token-text("true")
[11/02/22 05:31:21.493]:AD PT:: Arg Value: "true".
[11/02/22 05:31:21.493]:AD PT:: Action: do-strip-op-attr("streetAddress").
[11/02/22 05:31:21.493]:AD PT:: Evaluating selection criteria for rule 'NGCstartDate - ngcStartDate 11302016'.
[11/02/22 05:31:21.494]:AD PT:: (if-operation equal "modify") = TRUE.
[11/02/22 05:31:21.494]:AD PT:: (if-op-attr 'ngcStartDate' changing) = FALSE.
[11/02/22 05:31:21.494]:AD PT:: Rule rejected.
[11/02/22 05:31:21.494]:AD PT:: Evaluating selection criteria for rule 'NGCEndDate - ngcEndDate '.
[11/02/22 05:31:21.494]:AD PT:: (if-operation equal "modify") = TRUE.
[11/02/22 05:31:21.495]:AD PT:: (if-op-attr 'NGCEndDate' changing) = FALSE.
[11/02/22 05:31:21.495]:AD PT:: Rule rejected.
[11/02/22 05:31:21.495]:AD PT:: Evaluating selection criteria for rule 'ngcExternalID - ngcExternalID '.
[11/02/22 05:31:21.495]:AD PT:: (if-operation equal "modify") = TRUE.
[11/02/22 05:31:21.495]:AD PT:: (if-op-attr 'ngcExternalID' changing) = FALSE.
[11/02/22 05:31:21.496]:AD PT:: Rule rejected.
[11/02/22 05:31:21.496]:AD PT:: Direct command from policy
[11/02/22 05:31:21.496]:AD PT::
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.8.2.1">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<modify class-name="user" dest-dn="CN=Costall[AU]\, Ka(XXXXX9),OU=People,DC=com" event-id="AD##18438531b5d##0">
<association>03c823e4144e8c418ed655c0fdf22768</association>
<modify-attr attr-name="streetAddress">
<remove-all-values/>
<add-value>
<value>Royal Australian Air Force Base
South Amberley Road</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>