Hi

I am using delimited driver for user creation in E-directory.

I need to send a mail to user's manager when user is created in
E-directory which contains user's password.

And, i am using Null driver for sending mail to user's manager.

As password is set little late in E-directory during user creation,

---I have checked in event Transformation policy when nspmDistribution
password is changing
----i have created a creation policy in Null Driver and checking for
add operation and reading nspmDistributionPassword from there.
----And then sending a mail to user's manager.


<-------------------------------->
Code Snippet from Null driver (Event Transformation Policy):
<-------------------------------->


<rule>
<description>Set Local Variable Password</description>
<comment xml:space="preserve">Set Local Variable Password -- true when
nspmDistributionPassword is changing</comment>
<conditions>
<and>
<if-op-attr name="nspmDistributionPassword" op="changing"/>
</and>
</conditions>
<actions>
<do-set-local-variable name="Password" scope="driver">
<arg-string>
<token-text xml:space="preserve">true</token-text>
</arg-string>
</do-set-local-variable>
</actions>
</rule>

<-------------------------------->
Code Snippet from Null driver (creation Policy):
<-------------------------------->

<rule>
<and>
<if-class-name op="equal">employeeUser</if-class-name>
<if-operation mode="case" op="equal">add</if-operation>
<if-local-variable mode="nocase" name="Password"
op="equal">true</if-local-variable>
</and>
<actions>
<do-set-local-variable name="var-generated-pwd" scope="policy">
<arg-string><token-src-attr
name="nspmDistributionPassword"/></arg-string>
</do-set-local-variable>
</actions>
</rule>

<-------------------------------->




The problem is that ----- i need to send the mail only once when user
is created but in my case, Null Driver is sending mail always when
password is modified from User application ( Self Servie Password Reset
--- Change Password).

Please resolve my issue.

Thanks
Jyoti


--
jyotiChawla
------------------------------------------------------------------------
jyotiChawla's Profile: http://forums.novell.com/member.php?userid=84624
View this thread: http://forums.novell.com/showthread.php?t=412714