Hello,

I have a JDBC driver to update a table that has the next fields:
- USER : DNI
- PASSWORD : CLAVE

The sync is bi directional. I have used nspmDistributionPassword and
the default subscriber password policies to track the sync. Some
traces:

ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.10.4747">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify cached-time="20110127170701.765Z"
class-name="IDM_CHANGEPWD" event-id="pwd-subscribe"
qualified-src-dn="O=UCAM\OU=Users\OU=ALU\CN=00000000"
src-dn="\TREE_UCAM\UCAM\Users\ALU\00000000" src-entry-id="57776"
timestamp="1296148021#7">
<association
state="associated">DNI=00000000,table=IDM_CHANGEPW D</association>
<modify-attr attr-name="CLAVE"><!-- content suppressed -->
</modify-attr>
<operation-data>
<password-subscribe-status>
<association>DNI=00000000,table=IDM_CHANGEPWD</association>
</password-subscribe-status>
</operation-data>
<modify-attr attr-name="FECHA_ACTUALIZACION">
<remove-all-values/>
<add-value>
<value type="time">1296151621</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
ST:Stripping operation data from input document
ST:Connecting to database...
ST:BEGIN Open connection 'dedicated2'.
ST:END Open connection.
ST:Connected to database.
ST:Metadata has been retrieved.
ST:BEGIN Set transaction isolation level.
ST: Transaction isolation level: read committed
ST:END Set transaction isolation level.
ST:Interpreting filter.
ST:BEGIN Transaction
ST: Old auto commit: true
ST: New auto commit: false
ST: BEGIN Handle MODIFY.
ST: BEGIN Interpret event.
ST: END Interpret event.
ST: BEGIN Update row in parent table 'IDM_CHANGEPWD'.
ST: Not locking.
ST: UPDATE IDM_CHANGEPWD SET CLAVE = ?, FECHA_ACTUALIZACION = ? WHERE
DNI = ?
ST: IN @ index 1, field 'CLAVE', length: 7, value = '1234567'
ST: IN @ index 2, field 'FECHA_ACTUALIZACION', value = 2011-01-27
19:07:01.0
ST: IN @ index 3, field 'DNI', length: 8, value = '00000000'
ST: END Update row in parent table 'IDM_CHANGEPWD'.
ST: END Handle MODIFY.
ST: COMMIT
ST:END Transaction
ST:Restoring operation data to output document
ST:SubscriptionShim.execute() returned:

<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20090520_1228" instance="BD InfoUCAM"
version="3.5.4">DirXML Driver for JDBC</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status event-id="pwd-subscribe" jdbc:update-count="1"
level="success">
<operation-data>
<password-subscribe-status>
<association>DNI=00000000,table=IDM_CHANGEPWD</association>
</password-subscribe-status>
</operation-data>
</status>
</output>
</nds>

More below:

[01/27/11 18:48:27.391]:JDBC_PWD ST:Policy returned:
[01/27/11 18:48:27.391]:JDBC_PWD ST:
<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20090520_1228" instance="BD InfoUCAM"
version="3.5.4">DirXML Driver for JDBC</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status event-id="pwd-publish" jdbc:update-count="1"
level="success">
<operation-data>
<password-publish-status>
<association>DNI=00000000,table=IDM_CHANGEPWD</association>
</password-publish-status>
</operation-data>
</status>
</output>
</nds>
ST:Applying schema mapping policies to input.
ST:Applying policy: %+C%14CSchema+Mapping+Rule%-C.
ST:Resolving association references.
ST:Processing returned document.
ST:Processing operation <status> for .
[01/27/11 18:48:27.393]:JDBC_PWD ST:
DirXML Log Event -------------------
Driver: \TREE_UCAM\UCAM\IDM\DriverSet\BD InfoUCAM
Channel: Subscriber
Object: \TREE_UCAM\UCAM\Users\ALU\00000000
Status: Success
ST:No password synchronization commands detected, assumed vetoed.
ST:Password synchronization event status recorded.

Then password sync status not works because is showed as vetoed. How
can I fix this behaviour?

Thanks,


--
aoton
------------------------------------------------------------------------
aoton's Profile: http://forums.novell.com/member.php?userid=515
View this thread: http://forums.novell.com/showthread.php?t=431037