Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-293

Values of attributes of the syntax 'Generalized Time' must have the g-time-zone 'Z' and minutes and seconds set to be interpreted and shown as a date instead of the raw value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.1, 1.1.0
    • 1.3.0
    • studio-ldapbrowser
    • None

    Description

      1.) Create some entry in your directory containing an attribute of the syntax 'Generalized Time'
      2.) Set that to a value containing the 'g-time-zone' 'Z' and vlues for 'minute' and 'second', eg '20080309234300Z'
      3.) When viewing the entry in the LDAP browser this value will be interpreted as a date and shown as '09.03.2008 23:45 CET (..'
      4.) Now remove the 'second' or replace the 'g-time-zone' with eg '+02'
      5.) When viewing the entry in the LDAP browser after changing it according to (4.) only the raw value for the 'Generalized Time' will be shown.

      According to RFC4517 ยง3.3.13, the syntax 'Generalized Time' only requires values for 'century', 'year', 'month', 'day' and 'hour' plus the 'g-time-zome' which can be 'Z' or a 'g-differential' ((+/-)hour[minute]) representing a local time zone, so the LDAP browser should be able to interpret those values.

      Attachments

        Activity

          People

            seelmann Stefan Seelmann
            nirkus Linus van Geuns
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: