Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-350

DS is not properly displaying case of group DN

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:
      RCP version, Java 6.0, Tivoli Directory Server

      Description

      Im not big LDAP expert so I hope this is bug and not my misunderstanding of something LDAP specific feature or something similar.

      We have problems with the way DS is working with case of some parts in DN strings. We have some groups in ldap which have DN that look like this:

      cn=somegroup,ou=groups,DC=EXT,DC=COM

      we need DC in uppercase because of some application and Websphere Application Server rights checking and so these groups are stored with DC in uppercase in LDAP.

      Problem with Apache Directory studio is that with such groups it's workjng like it is stored like:

      cn=somegroup,ou=groups,dc=EXT,dc=COM

      So dc here is converted to lowercase.

      DS is displaying it like this, also when I copy DN to clipboard, export ldif etc, Im still getting dc in lowecase.

      Even also when Im creating new group and I use existing group as template (and this existing group has DC in uppecase) newly created group is stored with dc in lowercase in ldap.

      I dont know if its specific for Tivoli directory server, but my wish is to have DS working with case of DN exactly like it's stored in ldap

        Activity

        Hide
        Emmanuel Lecharny added a comment -

        Attribute type (dc or cn) are not case sensitive. In fact, dc, Dc, dC, DC, DomainComponent and 0.9.2342.19200300.100.1.25 are all valid form of the dc attributeType.

        guys, do you think it's possible to let a user type it's own attributeType using whatever casing he wants? Even select another form than the short one ? (sometime, it would be better to get 'locality' instead of 'l')

        wdyt ?

        Show
        Emmanuel Lecharny added a comment - Attribute type (dc or cn) are not case sensitive. In fact, dc, Dc, dC, DC, DomainComponent and 0.9.2342.19200300.100.1.25 are all valid form of the dc attributeType. guys, do you think it's possible to let a user type it's own attributeType using whatever casing he wants? Even select another form than the short one ? (sometime, it would be better to get 'locality' instead of 'l') wdyt ?
        Hide
        Stefan Seelmann added a comment -

        Yes, this shouldn't be a big issue. We must ensure to always use the LdapDN.getUpName() method. I'll try to fix that tomorrow.

        Show
        Stefan Seelmann added a comment - Yes, this shouldn't be a big issue. We must ensure to always use the LdapDN.getUpName() method. I'll try to fix that tomorrow.
        Show
        Stefan Seelmann added a comment - Fixed here: http://svn.apache.org/viewvc?rev=675672&view=rev
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Apache Directory Studio 1.2.0 has now been released.

        Let's clean Jira and close this issue.

        Show
        Pierre-Arnaud Marcelot added a comment - Apache Directory Studio 1.2.0 has now been released. Let's clean Jira and close this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development