In my orcale application there is a trigger that demands that a Oracle
user in place before th einsert to a table, therefore I need to move all
jdbc:statement to before the add.
But all policy tries I have done seems to fail..
Any suggestions how to do that ? (I would like to do this in a own rule
after the USER DDL)

When jdbc:statement is before the add, can driver still resolve the
{$$password} token ?

//Magnus


Code:
--------------------
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add cached-time="20130418091356.348Z" class-name="User" event-id="ism-idv#20130418091356#1#1:06a23154-6db1-4c09-88b8-5431a206b16d" jdbcp-id="0" jdbcp-type="password-set-operation" jdbc:transaction-id="0" qualified-src-dn="O=data\OU=users\CN=DPS" src-dn="\UTOPIA-TREE\data\users\DPS" src-entry-id="36697" timestamp="0#0" xmlns:jdbc="urn:dirxml:jdbc">
<add-attr attr-name="CN">
<value naming="true" timestamp="1366271709#20" type="string">DPS</value>
</add-attr>
<add-attr attr-name="Internet EMail Address">
<value timestamp="1366271709#8" type="string">Firstname.Lastname@dps.se</value>
</add-attr>
<add-attr attr-name="Given Name">
<value timestamp="1366271709#5" type="string">First name</value>
</add-attr>
<add-attr attr-name="Surname">
<value timestamp="1366271709#9" type="string">Last name</value>
</add-attr>
<password>pwd</password>
<operation-data>
<password-subscribe-status>
<association/>
</password-subscribe-status>
<cn>DPS</cn>
</operation-data>
</add>
<jdbc:statement jdbcp-id="0" ge-op="create" xmlns:exslt="http://exslt.org/common" xmlns:jdbc="urn:dirxml:jdbc">
<jdbc:sql>CREATE USER "DPS" IDENTIFIED BY "{$$password}"</jdbc:sql>
</jdbc:statement>
<jdbc:statement jdbcp-id="0" xmlns:exslt="http://exslt.org/common" xmlns:jdbc="urn:dirxml:jdbc">
<jdbc:sql>GRANT CREATE SESSION TO "DPS"</jdbc:sql>
</jdbc:statement>
</input>
</nds>
--------------------


--
magnus
------------------------------------------------------------------------
magnus's Profile: https://forums.netiq.com/member.php?userid=283
View this thread: https://forums.netiq.com/showthread.php?t=47582