Lotus Notes Driver Tip



By: pnuffer

December 15, 2005 2:16 am

Reads: 169

Comments:0

Rating:0

Problem

A reader asked the following question:

By default, when the Lotus Notes Driver registers users, the new users are given a Notes client license field of ‘Lotus Notes’. If I need the newly registered user to have a Notes client license of ‘Lotus Notes Mail’, ‘Lotus Notes Desktop’, ‘Lotus Notes Designer’, or ‘Lotus Notes Administration’, how can the Notes Driver accomplish this?

Solution

Here’s a tip from Novell’s Perry Nuffer …


The Notes client license field is identified within the Notes Address Book (NAB) names.nsf file as ‘ClientType’. The Notes Administrator client can set the following values for this field:

  • 0 – Lotus Notes
  • 1 – Lotus Notes Mail
  • 2 – Lotus Notes Desktop
  • 3 – Lotus Notes Designer
  • 4 – Lotus Notes Administrator

If the field has multiple values, then multiple license types are indicated by the user interface. If a ClientType field value is applied by the NotesDriver (via policy), then the newly added user would have whatever license type the Notes Driver policy dictated.

Below is a sample subscriber channel policy that inserts a Lotus Notes
Administration Client License field value (4) if a newly added user has a
‘Title’ attribute containing the value of ‘Administrator’:

<rule>
  <description>Add Notes Client License Field: Administrator</description>
    <conditions>
      <and>
        <if-class-name op="equal">User</if-class-name>
        <if-operation op="equal">add</if-operation>
        <if-op-attr name="Title" op="equal">Administrator</if-op-attr>
      </and>
    </conditions>
    <actions>
      <do-add-dest-attr-value class-name="User" name="ClientType">
        <arg-value type="string">
          <token-text xml:space="preserve">4</token-text>
        </arg-value>
      </do-add-dest-attr-value>
    </actions>
</rule>

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment