I have the GroupWise driver installed from the IDM 4.0.1 AE ISO and have
the driver running with the default policies along with some
customizations for our placement rules in my development environment. I
am now trying to create a rule to handle duplicate email addresses. We
are using Firstname.Lastname in GroupWise for our users and have about
5000 users so we get a few duplicate names. Our manual process is to add
the middle initial to the email address so it becomes
Firstname.MI.Lastname. If this is still a duplicate, we will add a
number to the end of the email address until we get a unique address.
The documentation mentions a special query in the GroupWise driver for
email addresses but not how to use it. I've tried to incorporate part of
another thread but that doesn't seem to work either. Here is the XML
from Policy Builder for the Rule in the Subscriber Creation Policy and
the error message from a level 3 trace. The other thing I don't
understand is how to set the value of 56 (0x38) into attribute 50320 so
it will only use the email address that I have entered and Full, Host,
and UserID but only when we had to use something other than
firstname.lastname for the email address. We normally allow all of the
variations to be used.
Creation Policy
<description>Check names for unique email with Initials</description>
<comment xml:space="preserve">Check firstname.lastname and then
firstname.initial.lastname to see if we can use the names.</comment>
<if-class-name mode="nocase" op="equal">User</if-class-name>
<if-attr name="Initials" op="available"/>
<do-set-dest-attr-value name="50319">
<arg-value type="string">
<token-unique-name counter-digits="1" counter-pad="false"
counter-pattern="all" counter-start="1" counter-use="fallback"
name="50319" on-unavailable="error">
<token-src-attr name="Given Name"/>
<token-text xml:space="preserve">.</token-text>
<token-src-attr name="Surname"/>
<token-src-attr name="Given Name"/>
<token-text xml:space="preserve">.</token-text>
<token-src-attr name="Initials"/>
<token-text xml:space="preserve">.</token-text>
<token-src-attr name="Surname"/>
Level 3 Trace
[09/06/12 17:12:28.311]:GroupWise Driver :Remote Interface Driver:
Received document for subscriber channel
[09/06/12 17:12:28.313]:GroupWise Driver :Remote Interface Driver:
Waiting for receive...
[09/06/12 17:12:28.314]:GroupWise Driver ST:SubscriptionShim.execute()
[09/06/12 17:12:28.315]:GroupWise Driver ST:
<nds dtdversion="2.0" ndsversion="8.x">
<product build="20090305_0422" instance="GroupWise Driver"
version="3.5.3 (linux)">DirXML Driver for GroupWise</product>
<contact>Novell, Inc.</contact>
<status code="javax.naming.directory.AttributeInUseExcepti on: An
error occurred modifying an attribute value. The email address
&quot;dale.test1@psoft-qa.childrenshc.org&quot; is already being used by
dptest1.mps-po.mps-dom (0xDB57); remaining name
level="error" type="app-general">
<code>javax.naming.directory.AttributeInUseExcepti on: An error
occurred modifying an attribute value. The email address
"dale.test1@psoft-qa.childrenshc.org" is already being used by
dptest1.mps-po.mps-dom (0xDB57); remaining name
<description>GroupWise Error</description>

puot7808's Profile: https://forums.netiq.com/member.php?userid=393
View this thread: https://forums.netiq.com/showthread.php?t=2961