I am trying to write a policy in my GroupWise driver to create a
nickname for a user based on criteria other than a rename or move. Can
someone help me with the proper syntax to create a GW nickname?

If class name User and event XYZ
Do create GW nickname equal to OLD_NAME

Page 57 of the IDM GroupWise driver documentation sites some example
code on how to accomplish this but I am having trouble writing the
correct rule.

I tried to write a policy using the example code but I am getting an
error
Code:
--------------------
(-9124) Error in vnd.nds.stream:// because my syntax is incorrect. Can anyone point me in the right direction?

Thanks so much,
Jordan

<?xml version="1.0" encoding="UTF-8"?><policy xmlns:gw="http://www.novell.com/dirxml/gwdriver">
<rule>
<description>Create GroupWise Nickname</description>
<conditions>
<and>
<if-operation op="equal">modify</if-operation>
<if-class-name op="equal">User</if-class-name>
</and>
</conditions>
<add class-name="GroupWise Nickname" event-id="0">
<!-- Domain of user this nickname refers to -->
<add-attr attr-name="50068">
<value type="string">IDM TXDOT-ONE</value>
</add-attr>
<!-- Post Office of user this nickname refers to -->
<add-attr attr-name="50069">
<value type="string">BWDHQ</value>
</add-attr>
<!-- user this nickname refers to -->
<add-attr attr-name="50070">
<value type="string">Usern1</value>
</add-attr>
<!-- Domain of nickname record -->
<add-attr attr-name="50035">
<value type="string">IDM TXDOT-ONE</value>
</add-attr>
<!-- Post Office of nickname record -->
<add-attr attr-name="50062">
<value type="string">BWDHQ</value>
</add-attr>
<!-- name of nickname record -->
<add-attr attr-name="50073">
<value type="string">Usern1</value>
</add-attr>
</add>
</rule>
</policy>


--
jcocke1
------------------------------------------------------------------------
jcocke1's Profile: http://forums.novell.com/member.php?userid=1649
View this thread: http://forums.novell.com/showthread.php?t=349752