Cool Solutions

Solving Password Problems with the Lotus Notes Driver



By:

March 1, 2006 1:59 am

Reads: 3054

Comments:0

Score:0

Problem

When processing a modify-password command, the NotesDriverShim checks for an existing and valid ‘old-password’ match. Thus if the modify-password command is missing an <old-password> value and the existing Notes User already has an HTTPPassword (web password) value set, the modify-password command will fail.

Solution

If the old HTTPPassword value is known (and currently valid in Notes), adding an <old-password> element with the old HTTPPassword value to the <modify-password> command should work. Here’s an example:

<input>

  <modify-password class-name="Person" event-id="pwd-subscribe" src-dn="\PWDSYNCTREE\sync\dom\poc\JohnDoe" src-entry-id="35952">

    <association>D9628831A988381AC12570F9005BE6B3</association>

    <old-password><!-- content suppressed --></old-password>

    <password><!-- content suppressed --></password>

  </modify-password>

</input>

If you don’t know the old-password, to overcome this security check, try setting the HTTPPassword attribute directly. A command like the following received by the NotesDriverShim should work:

<input>

  <modify class-name="Person" event-id="pwd-subscribe" src-dn="\PWDSYNCTREE\sync\dom\poc\JohnDoe" src-entry-id="35952">

    <association>D9628831A988381AC12570F9005BE6B3</association>

    <modify-attr attr-name="HTTPPassword" is-sensitive="true"><!-- content suppressed -></modify-attr>

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

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS