[OPENDJ-1427] Control panel reports duplicate ds-sync-hist values for pwdHistory Created: 10/Apr/14  Updated: 08/Nov/19  Resolved: 21/Nov/16

Status: Done
Project: OpenDJ
Component/s: tools
Affects Version/s: 2.6.0
Fix Version/s: 3.0.0, 2.8.0, 2.6.2

Type: Bug Priority: Minor
Reporter: Chris Ridd Assignee: Matthew Swift
Resolution: Fixed Votes: 0
Labels: Verified, release-notes

QA Assignee: Ondrej Fuchsik
Support Ticket IDs:

 Description   

Password history is enabled, and an entry has two values in pwdHistory. Their ds-sync-hist therefore contains:

ds-sync-hist: pwdhistory:000001454bc077c84ddd00000bcf:add:20140410130755.976Z#1.
 3.6.1.4.1.26027.1.3.1#{SSHA512}SmDko218taXnglyHW6nKNXDLA8M8T6ker9VlWbkarmpKtLCy
 JSOltZV9WR/K/ZVrTtUWY/jfmSDjmRvUKrKTlqg8zdzAWX2o
ds-sync-hist: pwdhistory:000001454bc0a0ab4ddd00000bd2:add:20140410130806.443Z#1.
 3.6.1.4.1.26027.1.3.1#{SSHA512}7WJjJsE6xw+LBNWHDUmL3aA4ULU2c1EiyQ84CgNqNv48oo0T
 TAhwx9lthAmdyUJpfRAmi+oRiIdedacQchQB4Lgk1/MVcLxb

However the control-panel displays these values as

pwdhistory:<Binary Value>

Attempting to modify the entry while in Simplified view fails, the control-panel reporting:

The entry is not correct. Details: Entry uid=foo,dc=example,dc=com
read from LDIF starting at line 1 includes a duplicate attribute ds-sync-hist
with value pwdHistory:. The second occurrence of that attribute value has been
skipped

Attempting to modify the entry in the Attribute or LDIF views succeeds.



 Comments   
Comment by Ondrej Fuchsik [ 08/Oct/14 ]

Manually verified. Following steps failed with earlier versions.
1. Install two instances with enabled replication.
2. Enabled pwd history
3. Changed history-count to 7
4. Run control panel and on testuser changed password in simplified view mode and once more in LDIF view mode.
5. Run ldapsearch command to verify number of ds-sync-hist records. Compared with control panel. => OK
6. Once more change the password in simplified view mode. => OK
7. Once more check the number of ds-sync-hist records. => OK

Comment by Mark Craig [ 05/Dec/15 ]

Reopening for editorial fix to description

Comment by Quentin CASTEL [X] (Inactive) [ 20/Nov/16 ]

modification of the status, in order to migrate the 'Zendesk ID' field to 'Support Ticket ID' field.

Generated at Sat Oct 31 02:09:44 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.