Hello,

I have a JDBC driver and I need to set the Login Disabed attribute of
the eDir (Identity Vault) User to true if a condition is checked.

I am searching the way to set this Login Disabled to true in eDir via
the JDBC driver knowing that Login Disabled is
not in the schema as there is no application attribute to map with
Login Disabled attribute.

In the filter rule I have added the Login Disabled attribute to
"Notify" on the publication channel.

On the publication channel, I have added the following event
transformation rule :

<rule>
<description>desactivation</description>
<conditions>
<and>
<if-class-name op="equal">User</if-class-name>
<if-attr name="jackNumber" op="equal">3</if-attr>
</and>
</conditions>
<actions>
<do-set-dest-attr-value name="Login Disabled">
<arg-value type="string">
<token-text xml:space="preserve">true</token-text>
</arg-value>
</do-set-dest-attr-value>
</actions>
</rule>


Do you have an idea of what is wrong ?
I give you logs bellow.

Many thanks in advance for your help,

Christine




[06/11/08 10:51:52.690]:/usr/christine/tracesSI3.log PT:
<nds dtdversion="2.0" ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20070918_0743" instance="Serveur Identite3"
version="3.5.2">DirXML Driver for JDBC</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User" dest-dn="dev\comptes\Arizonax_e"
dest-entry-id="34527"
event-id="PK_LOGIN=Arizonax_e,table=VIEW_JOURNALUSER,sch ema=SRVID"
src-dn="PK_LOGIN=Arizonax_e,table=VIEW_JOURNALUSER,sch ema=SRVID">

<association>PK_LOGIN=Arizonax_e,table=VIEW_JOURNA LUSER,schema=SRVID</association>
<modify-attr attr-name="jackNumber">
<remove-value>
<value timestamp="1213174215#2" type="string">2</value>
</remove-value>
</modify-attr>
<modify-attr attr-name="jackNumber">
<add-value>
<value type="integer">3</value>
</add-value>
</modify-attr>
<modify-attr attr-name="Login Disabled">
<remove-all-values/>
<add-value>
<value type="string">true</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
[06/11/08 10:51:52.698]:/usr/christine/tracesSI3.log PT:No command
transformation policies.
[06/11/08 10:51:52.699]:/usr/christine/tracesSI3.log PT:Filtering out
notification-only attributes.
[06/11/08 10:51:52.700]:/usr/christine/tracesSI3.log PT: Filtered out
<modify-attr attr-name='Login Disabled'>.
[06/11/08 10:51:52.701]:/usr/christine/tracesSI3.log PT:Pumping XDS to
eDirectory.
[06/11/08 10:51:52.702]:/usr/christine/tracesSI3.log PT:Performing
operation modify for dev\comptes\Arizonax_e.
[06/11/08 10:51:52.703]:/usr/christine/tracesSI3.log PT:Modifying entry
dev\comptes\Arizonax_e.
[06/11/08 10:51:52.718]:/usr/christine/tracesSI3.log PT:
DirXML Log Event -------------------
Driver: \DEVNDS\dev\system\EnsemblePilote\Serveur Identite3
Channel: Publisher
Object: PK_LOGIN=Arizonax_e,table=VIEW_JOURNALUSER,schema= SRVID
(dev\comptes\Arizonax_e)
Status: Success
[06/11/08 10:51:52.722]:/usr/christine/tracesSI3.log PT:Fixing up
association references.


--
coves
------------------------------------------------------------------------
coves's Profile: http://forums.novell.com/member.php?userid=4568
View this thread: http://forums.novell.com/showthread.php?t=332174