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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1, 1.1.0
    • Fix Version/s: 1.3.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:

      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.

        Activity

          People

          • Assignee:
            Stefan Seelmann
            Reporter:
            Linus van Geuns
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development