I am using IDM 4.0.1 on SLES 11 SP1 with the remote loader and GW domain
on a separate SLES 11 SP1 server. I am trying to set some of the client
options which are structured attributes and it is not working. Here is
one section of the XML from Designer along with part of the trace from
both the driver and the remote loader. Here is the documentation link
http://tinyurl.com/9q7zp4w
I am not sure what I am missing. The remote loader seems to drop part
of the commands to set the DiscardSettings.
Here is the relevant part of the directions.
<attr attr-name="DiscardSettings">
<value type="structured">
<component name="lock-level">0</component>
<component name="value">0</component>
<component name="field">userLimitSet</component>
</value>
<value type="structured">
<component name="value">0</component>
<component name="field">boxSizeLimit</component>
</value>
<value type="structured">
<component name="value">0</component>
<component name="field">boxThresholdLimit</component>
</value>
<value type="structured">
<component name="value">0</component>
<component name="field">messageSendLimit</component>
</value>
<value type="structured">
<component name="lock-level">0</component>
<component name="value">0</component>
<component name="field">boxLimitAppliesToCache</component>
</value>
<value type="structured">
<component name="lock-level">0</component>
<component name="value">0</component>
<component name="field">enableBoxThresholdNotificaion</component>
</value>
<value type="structured">
<component name="lock-level">0</component>
<component name="value">0</component>
<component name="field">enableBoxSizeNotificaion</component>
</value>
</attr>

Here is the XML from Designer for setting the attributes.
<rule>
<description>All New Users set to 500MB</description>
<conditions>
<and>
<if-class-name mode="nocase" op="equal">User</if-class-name>
<if-op-attr mode="nocase" name="isManager"
op="not-equal">true</if-op-attr>
</and>
</conditions>
<actions>
<do-add-dest-attr-value class-name="User" name="DiscardSettings">
<arg-value type="structured">
<arg-component name="lock-level">
<token-text xml:space="preserve">5</token-text>
</arg-component>
<arg-component name="value">
<token-text xml:space="preserve">1</token-text>
</arg-component>
<arg-component name="field">
<token-text xml:space="preserve">userLimitSet</token-text>
</arg-component>
<arg-component name="value">
<token-text xml:space="preserve">524288000</token-text>
</arg-component>
<arg-component name="field">
<token-text xml:space="preserve">boxSizeLimit</token-text>
</arg-component>
<arg-component name="value">
<token-text xml:space="preserve">95</token-text>
</arg-component>
<arg-component name="field">
<token-text xml:space="preserve">boxThresholdLimit</token-text>
</arg-component>
<arg-component name="value">
<token-text xml:space="preserve">52428800</token-text>
</arg-component>
<arg-component name="field">
<token-text xml:space="preserve">messageSendLimit</token-text>
</arg-component>
</arg-value>
</do-add-dest-attr-value>
</actions>
</rule>

Here is the relevant section from the GW driver log from a new user
creation.
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.1.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add cached-time="20120911172035.827Z" class-name="User"
event-id="vcedirtest1#20120911172035#2#2:08975445-5493-45ed-049f-455497089354"
qualified-src-dn="O=CHC\OU=CPT\CN=CE005888"
src-dn="\PSOFT-FP\CHC\CPT\CE005888" src-entry-id="34301"
timestamp="1347384035#5">
<add-attr attr-name="CN">
<value naming="true" timestamp="1221158240#49"
type="string">CE005888</value>
</add-attr>
<add-attr attr-name="Description">
<value timestamp="1221158240#4" type="string">user moved from
Bones file server</value>
</add-attr>
<add-attr attr-name="DirXML-EntitlementRef">
<value timestamp="1347384035#5" type="structured">
<component name="nameSpace">1</component>
<component
name="volume">\PSOFT-FP\CHC\idmgr\psoftfp\GroupWise
Driver\gwAccount</component>
<component name="path.xml">
<ref>
<src>RBE</src>
<id>CHC\idmgr\psoftfp\Entitlement Policies\GW Account
Policy</id>
</ref>
</component>
</value>
</add-attr>
<add-attr attr-name="employeeType">
<value timestamp="1347383945#2" type="string">EMP</value>
</add-attr>
<add-attr attr-name="Given Name">
<value timestamp="1221158240#6" type="string">Brian</value>
</add-attr>
<add-attr attr-name="Login Disabled">
<value timestamp="1232647239#26" type="state">false</value>
</add-attr>
<add-attr attr-name="OU">
<value timestamp="1221158240#23"
type="string">Telecommunications (10568)</value>
</add-attr>
<add-attr attr-name="Surname">
<value timestamp="1221158240#32" type="string">Rue</value>
</add-attr>
<add-attr attr-name="Title">
<value timestamp="1221158240#33" type="string">System
Architect</value>
</add-attr>
<add-attr attr-name="Login Disabled">
<value type="state">FALSE</value>
</add-attr>
<add-attr attr-name="DiscardSettings">
<value type="structured">
<component name="lock-level">5</component>
<component name="value">1</component>
<component name="field">userLimitSet</component>
<component name="value">524288000</component>
<component name="field">boxSizeLimit</component>
<component name="value">95</component>
<component name="field">boxThresholdLimit</component>
<component name="value">52428800</component>
<component name="field">messageSendLimit</component>
</value>
</add-attr>
</add>
</input>
</nds>


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