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
(-9124) Error in vnd.nds.stream:// because my syntax is incorrect. Can anyone point me in the right direction?

Thanks so much,

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

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