Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1978

Unable to import ldif when operational attribute pwdChangedTime is present

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M16
    • Fix Version/s: 2.0.0-M18
    • Component/s: None
    • Labels:
      None

      Description

      If you export an LDIF entry containing pwdChagedTime operational attribute, then try to re-import it, you will get:

      ERR_278 More than one value has been provided for the single-valued attribute: pwdChangedTime
      

        Activity

        Hide
        ltheisen@mitre.org lucas theisen added a comment -

        Committed revision 1634249.

        Show
        ltheisen@mitre.org lucas theisen added a comment - Committed revision 1634249.
        Hide
        ltheisen@mitre.org lucas theisen added a comment -

        From IRC:

        [15:50] <kayyagari> think I see where this is happening
        [15:50] <kayyagari> it is an issue in add() of AuthenticationInterceptor
        [15:51] <kayyagari> where it is seeing userPassword attribute and adding the pwdChangedTime attribute
        [15:51] <kayyagari> let me check the code
        [15:51] <lucastheisen> ah, that would make sense... so it needs to check to see if pwdChangedTime is part of the ADD/MODIFY request before generating one
        [15:52] <kayyagari> yep
        [15:52] <lucastheisen> want me to put in a jira ticket?
        [15:52] <kayyagari> there it is at lines 380 − 386
        
        Show
        ltheisen@mitre.org lucas theisen added a comment - From IRC: [15:50] <kayyagari> think I see where this is happening [15:50] <kayyagari> it is an issue in add() of AuthenticationInterceptor [15:51] <kayyagari> where it is seeing userPassword attribute and adding the pwdChangedTime attribute [15:51] <kayyagari> let me check the code [15:51] <lucastheisen> ah, that would make sense... so it needs to check to see if pwdChangedTime is part of the ADD/MODIFY request before generating one [15:52] <kayyagari> yep [15:52] <lucastheisen> want me to put in a jira ticket? [15:52] <kayyagari> there it is at lines 380 − 386

          People

          • Assignee:
            Unassigned
            Reporter:
            ltheisen@mitre.org lucas theisen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development