Article
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> Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
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, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 2831 reads


0