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

        Hide
        Stefan Seelmann added a comment -
        Show
        Stefan Seelmann added a comment - Fixed in trunk: http://svn.apache.org/viewvc?rev=1057914&view=rev
        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.
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development