Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-487

Empty namingcontexts causes javax.naming.InvalidNameException: Bad DN

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:
      Domino 7, Exchange 5.5

      Description

      When attempting to connect to domino server with an empty namingcontexts, using option to get base DNs from Root DSE (or leaving as empty), an error is generated and DIT does not display.

      Problem Occurred popup when fetching Base DNs:

      Error while fetching base DNs

      • Can't set Base DN entry
      • Bad DN :
        javax.naming.InvalidNameException: Bad DN :

      Modification Logs when connecting:

      #!RESULT ERROR
      #!CONNECTION ldap://10.x.x.x:389
      #!DATE 2009-04-24T12:04:10.247
      #!ERROR [LDAP: error code 89 - No given DN]
      dn:
      changetype: modify
      add: namingcontexts
      namingcontexts: o=mydomain
      -

      And Domino Root DSE:

      objectClass: top
      namingcontexts:
      subschemasubentry: cn=schema
      supportedextension: 1.3.6.1.4.1.1466.20037
      supportedextension: LanguageCodes
      supportedldapversion: 2
      supportedldapversion: 3
      supportedschemamechanisms: EXTERNAL
      vendorname: IBM Lotus Software
      vendorversion: Release 7.0.2

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development