Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-722

LDIF parser should allow attribute names with underscore ("_")

    Details

      Description

      LDIF editor and import don't allow attribute names with an underscore, for example:

      dn: ou=test,dc=example,dc=com
      objectClass: organizationalUnit
      objectClass: top
      ou: test
      attribute_with_underscore: abc

      The underscore is not allowed wrt RFC 4512. However many directory server implementations (DirX, OID, and various virtual directory servers like SAP VDS) allow underscores. It is not possible to edit or re-import exported LDIFs from those servers. See also DIRSTUDIO-378 where the underscore wasn't allowed for returning attributes in the search dialog.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        14m 29s 1 Stefan Seelmann 11/Jan/11 23:15
        Resolved Resolved Closed Closed
        74d 2h 38m 1 Stefan Seelmann 27/Mar/11 02:53
        Closed Closed Reopened Reopened
        288d 10h 34m 1 Pierre-Arnaud Marcelot 09/Jan/12 12:27
        Reopened Reopened Closed Closed
        9m 1 Pierre-Arnaud Marcelot 09/Jan/12 12:37
        Stefan Seelmann made changes -
        Fix Version/s 1.5.4 [ 12314863 ]
        Pierre-Arnaud Marcelot made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-M1 [ 12319458 ]
        Pierre-Arnaud Marcelot made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Stefan Seelmann made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Stefan Seelmann added a comment -
        Show
        Stefan Seelmann added a comment - Fixed in 1.5.x branch: http://svn.apache.org/viewvc?rev=1085854&view=rev
        Stefan Seelmann made changes -
        Fix Version/s 1.5.4 [ 12314863 ]
        Hide
        Emmanuel Lecharny added a comment -

        I think it would be a good idea to allow such attribute names in the server too, with some configuration telling the server if it should have a strict approach or not.

        I was more specifically thinking about a set of flags in the config that can be set to true or false depending on the aspect we accept or not.

        Show
        Emmanuel Lecharny added a comment - I think it would be a good idea to allow such attribute names in the server too, with some configuration telling the server if it should have a strict approach or not. I was more specifically thinking about a set of flags in the config that can be set to true or false depending on the aspect we accept or not.
        Stefan Seelmann made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Stefan Seelmann added a comment -
        Show
        Stefan Seelmann added a comment - Fixed in trunk: http://svn.apache.org/viewvc?rev=1057914&view=rev
        Stefan Seelmann created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development