Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-261

LDAP Browser shows same root objects two times under Root DSE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None
    • Environment:
      Windows XP SP2, Windows Server 2003 SP2, JRE 1.6.4, JRE 1.6.3

      Description

      I'm using Directory Studio together with Novell eDirectory, mostly version 8.7.3.x and 8.8.x

      When connecting to eDirectory servers that contain organization objects that also are partitions in eDirectory the LDAP Browser displays the objects under Root DSE two times, for example:

      o=Company1
      o=Company1
      o=Company2
      o=Company2
      cn=Security

      I can't reproduce this behavior using other LDAP tools such as "LDAP Browser\Editor 2.8.2".

      Using the DSTrace utility in eDirectory I can see that it sends the result only once to Apache Directory Studio:

      23:49:40 971D61A0 LDAP: DoSearch on connection 0x9607f460
      23:49:40 971D61A0 LDAP: Search request:
      base: ""
      scope:1 dereference:3 sizelimit:0 timelimit:0 attrsonly:0
      filter: "(objectclass=*)"
      attribute: "objectclass"
      23:49:40 971D61A0 LDAP: Sending search result entry "o=Company1" to connection 0x9607f460
      23:49:40 971D61A0 LDAP: Sending search result entry "cn=Security" to connection 0x9607f460
      23:49:40 971D61A0 LDAP: Sending search result entry "cn=ZENWorksLicenses" to connection 0x9607f460
      23:49:40 971D61A0 LDAP: Sending search result entry "o=Company2" to connection 0x9607f460
      23:49:40 971D61A0 LDAP: Sending operation result 0:"":"" to connection 0x9607f460
      23:49:40 971D61A0 LDAP: Operation 0x2:0x63 on connection 0x9607f460 completed in 0 seconds

      1. screenshot-1.jpg
        13 kB
        Aleks M
      2. screenshot-2.jpg
        13 kB
        Aleks M
      3. screenshot-3.jpg
        21 kB
        Aleks M

        Activity

        Hide
        Aleks M added a comment -

        Company1 and Company2 are partitions in eDirectory, o=Hemma is not

        Show
        Aleks M added a comment - Company1 and Company2 are partitions in eDirectory, o=Hemma is not
        Hide
        Aleks M added a comment -

        Now I have made the o=Hemma a partition too and reconnected, LDAP Browser now shows it two times.

        Show
        Aleks M added a comment - Now I have made the o=Hemma a partition too and reconnected, LDAP Browser now shows it two times.
        Hide
        Aleks M added a comment -

        The result from the server

        Show
        Aleks M added a comment - The result from the server
        Hide
        Stefan Seelmann added a comment -

        Aleks, thanks for the report. Could you please post your RootDSE (Right-click to RootDSE -> Advanced -> Copy Entry as LDIF (include operational attributes))

        BTW: In the current development brach for version 1.1. we changed the way how to detect the naming contexts. I guess your problem should be solved but I will double-check.

        Show
        Stefan Seelmann added a comment - Aleks, thanks for the report. Could you please post your RootDSE (Right-click to RootDSE -> Advanced -> Copy Entry as LDIF (include operational attributes)) BTW: In the current development brach for version 1.1. we changed the way how to detect the naming contexts. I guess your problem should be solved but I will double-check.
        Hide
        Aleks M added a comment -

        When I right-click on RootDSE -> Advanced -> Copy Entry as LDIF is greyed out and I can't select it.

        I can only select (DN only) and (all user attributes)

        The result of all user attributes is:

        dn:
        vendorName: Novell, Inc.

        Show
        Aleks M added a comment - When I right-click on RootDSE -> Advanced -> Copy Entry as LDIF is greyed out and I can't select it. I can only select (DN only) and (all user attributes) The result of all user attributes is: dn: vendorName: Novell, Inc.
        Hide
        Stefan Seelmann added a comment -

        Shit, there is an dependency. Please go to Preferences -> LDAP -> Entry Editor and enable the option "Show operational attributes". Then the option "Copy Entry as LDIF (all operational attributes)" should be enabled.

        Here is a snapshot build, could you test if the problem still occurs with that version? http://people.apache.org/~pamarcelot/ApacheDirectoryStudio_Trunk_20080114_1500.zip

        Show
        Stefan Seelmann added a comment - Shit, there is an dependency. Please go to Preferences -> LDAP -> Entry Editor and enable the option "Show operational attributes". Then the option "Copy Entry as LDIF (all operational attributes)" should be enabled. Here is a snapshot build, could you test if the problem still occurs with that version? http://people.apache.org/~pamarcelot/ApacheDirectoryStudio_Trunk_20080114_1500.zip
        Hide
        Aleks M added a comment - - edited

        Hi
        It does not occur in that snapshot build. It seems to be fixed

        Here is the LDIF export:

        dn:
        vendorName: Novell, Inc.
        abandonOps: 0
        addEntryOps: 0
        bindSecurityErrors: 0
        chainings: 0
        compareOps: 0
        directoryTreeName: HEMMA
        dsaName: cn=gw,ou=System,o=Hemma
        errors: 0
        extendedOps: 1
        inBytes: 1911
        inOps: 24
        listOps: 0
        modifyEntryOps: 0
        modifyRDNOps: 0
        namingContexts:
        namingContexts: o=Company1
        namingContexts: o=Company2
        namingContexts: o=Hemma
        oneLevelSearchOps: 1
        outBytes: 166481
        readOps: 9
        referralsReturned: 0
        removeEntryOps: 0
        repUpdatesIn: 0
        repUpdatesOut: 0
        searchOps: 12
        securityErrors: 0
        simpleAuthBinds: 3
        strongAuthBinds: 0
        subschemaSubentry: cn=schema
        supportedControl: 1.2.840.113556.1.4.319
        supportedControl: 2.16.840.1.113719.1.27.101.40
        supportedControl: 2.16.840.1.113719.1.27.101.41
        supportedControl: 2.16.840.1.113719.1.27.101.5
        supportedControl: 2.16.840.1.113719.1.27.101.6
        supportedControl: 2.16.840.1.113719.1.27.103.7
        supportedControl: 2.16.840.1.113730.3.4.2
        supportedControl: 2.16.840.1.113730.3.4.3
        supportedExtension: 1.3.6.1.4.1.1466.20037
        supportedExtension: 2.16.840.1.113719.1.142.100.1
        supportedExtension: 2.16.840.1.113719.1.142.100.4
        supportedExtension: 2.16.840.1.113719.1.142.100.6
        supportedExtension: 2.16.840.1.113719.1.148.100.1
        supportedExtension: 2.16.840.1.113719.1.148.100.11
        supportedExtension: 2.16.840.1.113719.1.148.100.13
        supportedExtension: 2.16.840.1.113719.1.148.100.15
        supportedExtension: 2.16.840.1.113719.1.148.100.17
        supportedExtension: 2.16.840.1.113719.1.148.100.3
        supportedExtension: 2.16.840.1.113719.1.148.100.5
        supportedExtension: 2.16.840.1.113719.1.148.100.7
        supportedExtension: 2.16.840.1.113719.1.148.100.9
        supportedExtension: 2.16.840.1.113719.1.27.100.1
        supportedExtension: 2.16.840.1.113719.1.27.100.101
        supportedExtension: 2.16.840.1.113719.1.27.100.11
        supportedExtension: 2.16.840.1.113719.1.27.100.13
        supportedExtension: 2.16.840.1.113719.1.27.100.15
        supportedExtension: 2.16.840.1.113719.1.27.100.17
        supportedExtension: 2.16.840.1.113719.1.27.100.19
        supportedExtension: 2.16.840.1.113719.1.27.100.21
        supportedExtension: 2.16.840.1.113719.1.27.100.23
        supportedExtension: 2.16.840.1.113719.1.27.100.25
        supportedExtension: 2.16.840.1.113719.1.27.100.27
        supportedExtension: 2.16.840.1.113719.1.27.100.29
        supportedExtension: 2.16.840.1.113719.1.27.100.3
        supportedExtension: 2.16.840.1.113719.1.27.100.31
        supportedExtension: 2.16.840.1.113719.1.27.100.33
        supportedExtension: 2.16.840.1.113719.1.27.100.35
        supportedExtension: 2.16.840.1.113719.1.27.100.37
        supportedExtension: 2.16.840.1.113719.1.27.100.39
        supportedExtension: 2.16.840.1.113719.1.27.100.41
        supportedExtension: 2.16.840.1.113719.1.27.100.43
        supportedExtension: 2.16.840.1.113719.1.27.100.45
        supportedExtension: 2.16.840.1.113719.1.27.100.47
        supportedExtension: 2.16.840.1.113719.1.27.100.49
        supportedExtension: 2.16.840.1.113719.1.27.100.5
        supportedExtension: 2.16.840.1.113719.1.27.100.51
        supportedExtension: 2.16.840.1.113719.1.27.100.53
        supportedExtension: 2.16.840.1.113719.1.27.100.55
        supportedExtension: 2.16.840.1.113719.1.27.100.7
        supportedExtension: 2.16.840.1.113719.1.27.100.79
        supportedExtension: 2.16.840.1.113719.1.27.100.84
        supportedExtension: 2.16.840.1.113719.1.27.100.9
        supportedExtension: 2.16.840.1.113719.1.27.100.96
        supportedExtension: 2.16.840.1.113719.1.27.100.98
        supportedExtension: 2.16.840.1.113719.1.27.103.1
        supportedExtension: 2.16.840.1.113719.1.27.103.2
        supportedExtension: 2.16.840.1.113719.1.39.42.100.1
        supportedExtension: 2.16.840.1.113719.1.39.42.100.11
        supportedExtension: 2.16.840.1.113719.1.39.42.100.13
        supportedExtension: 2.16.840.1.113719.1.39.42.100.15
        supportedExtension: 2.16.840.1.113719.1.39.42.100.17
        supportedExtension: 2.16.840.1.113719.1.39.42.100.19
        supportedExtension: 2.16.840.1.113719.1.39.42.100.21
        supportedExtension: 2.16.840.1.113719.1.39.42.100.23
        supportedExtension: 2.16.840.1.113719.1.39.42.100.25
        supportedExtension: 2.16.840.1.113719.1.39.42.100.3
        supportedExtension: 2.16.840.1.113719.1.39.42.100.5
        supportedExtension: 2.16.840.1.113719.1.39.42.100.7
        supportedExtension: 2.16.840.1.113719.1.39.42.100.9
        supportedFeatures: 1.3.6.1.4.1.4203.1.5.1
        supportedFeatures: 2.16.840.1.113719.1.27.99.1
        supportedGroupingTypes: 2.16.840.1.113719.1.27.103.7
        supportedLDAPVersion: 2
        supportedLDAPVersion: 3
        supportedSASLMechanisms: NMAS_LOGIN
        unAuthBinds: 1
        vendorVersion: LDAP Agent for Novell eDirectory 8.8 SP2 (20216.45)
        wholeSubtreeSearchOps: 2

        Show
        Aleks M added a comment - - edited Hi It does not occur in that snapshot build. It seems to be fixed Here is the LDIF export: dn: vendorName: Novell, Inc. abandonOps: 0 addEntryOps: 0 bindSecurityErrors: 0 chainings: 0 compareOps: 0 directoryTreeName: HEMMA dsaName: cn=gw,ou=System,o=Hemma errors: 0 extendedOps: 1 inBytes: 1911 inOps: 24 listOps: 0 modifyEntryOps: 0 modifyRDNOps: 0 namingContexts: namingContexts: o=Company1 namingContexts: o=Company2 namingContexts: o=Hemma oneLevelSearchOps: 1 outBytes: 166481 readOps: 9 referralsReturned: 0 removeEntryOps: 0 repUpdatesIn: 0 repUpdatesOut: 0 searchOps: 12 securityErrors: 0 simpleAuthBinds: 3 strongAuthBinds: 0 subschemaSubentry: cn=schema supportedControl: 1.2.840.113556.1.4.319 supportedControl: 2.16.840.1.113719.1.27.101.40 supportedControl: 2.16.840.1.113719.1.27.101.41 supportedControl: 2.16.840.1.113719.1.27.101.5 supportedControl: 2.16.840.1.113719.1.27.101.6 supportedControl: 2.16.840.1.113719.1.27.103.7 supportedControl: 2.16.840.1.113730.3.4.2 supportedControl: 2.16.840.1.113730.3.4.3 supportedExtension: 1.3.6.1.4.1.1466.20037 supportedExtension: 2.16.840.1.113719.1.142.100.1 supportedExtension: 2.16.840.1.113719.1.142.100.4 supportedExtension: 2.16.840.1.113719.1.142.100.6 supportedExtension: 2.16.840.1.113719.1.148.100.1 supportedExtension: 2.16.840.1.113719.1.148.100.11 supportedExtension: 2.16.840.1.113719.1.148.100.13 supportedExtension: 2.16.840.1.113719.1.148.100.15 supportedExtension: 2.16.840.1.113719.1.148.100.17 supportedExtension: 2.16.840.1.113719.1.148.100.3 supportedExtension: 2.16.840.1.113719.1.148.100.5 supportedExtension: 2.16.840.1.113719.1.148.100.7 supportedExtension: 2.16.840.1.113719.1.148.100.9 supportedExtension: 2.16.840.1.113719.1.27.100.1 supportedExtension: 2.16.840.1.113719.1.27.100.101 supportedExtension: 2.16.840.1.113719.1.27.100.11 supportedExtension: 2.16.840.1.113719.1.27.100.13 supportedExtension: 2.16.840.1.113719.1.27.100.15 supportedExtension: 2.16.840.1.113719.1.27.100.17 supportedExtension: 2.16.840.1.113719.1.27.100.19 supportedExtension: 2.16.840.1.113719.1.27.100.21 supportedExtension: 2.16.840.1.113719.1.27.100.23 supportedExtension: 2.16.840.1.113719.1.27.100.25 supportedExtension: 2.16.840.1.113719.1.27.100.27 supportedExtension: 2.16.840.1.113719.1.27.100.29 supportedExtension: 2.16.840.1.113719.1.27.100.3 supportedExtension: 2.16.840.1.113719.1.27.100.31 supportedExtension: 2.16.840.1.113719.1.27.100.33 supportedExtension: 2.16.840.1.113719.1.27.100.35 supportedExtension: 2.16.840.1.113719.1.27.100.37 supportedExtension: 2.16.840.1.113719.1.27.100.39 supportedExtension: 2.16.840.1.113719.1.27.100.41 supportedExtension: 2.16.840.1.113719.1.27.100.43 supportedExtension: 2.16.840.1.113719.1.27.100.45 supportedExtension: 2.16.840.1.113719.1.27.100.47 supportedExtension: 2.16.840.1.113719.1.27.100.49 supportedExtension: 2.16.840.1.113719.1.27.100.5 supportedExtension: 2.16.840.1.113719.1.27.100.51 supportedExtension: 2.16.840.1.113719.1.27.100.53 supportedExtension: 2.16.840.1.113719.1.27.100.55 supportedExtension: 2.16.840.1.113719.1.27.100.7 supportedExtension: 2.16.840.1.113719.1.27.100.79 supportedExtension: 2.16.840.1.113719.1.27.100.84 supportedExtension: 2.16.840.1.113719.1.27.100.9 supportedExtension: 2.16.840.1.113719.1.27.100.96 supportedExtension: 2.16.840.1.113719.1.27.100.98 supportedExtension: 2.16.840.1.113719.1.27.103.1 supportedExtension: 2.16.840.1.113719.1.27.103.2 supportedExtension: 2.16.840.1.113719.1.39.42.100.1 supportedExtension: 2.16.840.1.113719.1.39.42.100.11 supportedExtension: 2.16.840.1.113719.1.39.42.100.13 supportedExtension: 2.16.840.1.113719.1.39.42.100.15 supportedExtension: 2.16.840.1.113719.1.39.42.100.17 supportedExtension: 2.16.840.1.113719.1.39.42.100.19 supportedExtension: 2.16.840.1.113719.1.39.42.100.21 supportedExtension: 2.16.840.1.113719.1.39.42.100.23 supportedExtension: 2.16.840.1.113719.1.39.42.100.25 supportedExtension: 2.16.840.1.113719.1.39.42.100.3 supportedExtension: 2.16.840.1.113719.1.39.42.100.5 supportedExtension: 2.16.840.1.113719.1.39.42.100.7 supportedExtension: 2.16.840.1.113719.1.39.42.100.9 supportedFeatures: 1.3.6.1.4.1.4203.1.5.1 supportedFeatures: 2.16.840.1.113719.1.27.99.1 supportedGroupingTypes: 2.16.840.1.113719.1.27.103.7 supportedLDAPVersion: 2 supportedLDAPVersion: 3 supportedSASLMechanisms: NMAS_LOGIN unAuthBinds: 1 vendorVersion: LDAP Agent for Novell eDirectory 8.8 SP2 (20216.45) wholeSubtreeSearchOps: 2
        Hide
        Stefan Seelmann added a comment -

        Glad to here, that it is fixed.

        Now I remember what was special on eDirectory: I always contains an namingContexts attribute with the empty RDN. If there is an empty namingContexts attribute we do an one-level search from the RootDSE. This way we got duplicated Base DNs. In the new version we just filter these duplicates.

        Show
        Stefan Seelmann added a comment - Glad to here, that it is fixed. Now I remember what was special on eDirectory: I always contains an namingContexts attribute with the empty RDN. If there is an empty namingContexts attribute we do an one-level search from the RootDSE. This way we got duplicated Base DNs. In the new version we just filter these duplicates.
        Hide
        Stefan Seelmann added a comment -

        This problem was already fixed.

        Show
        Stefan Seelmann added a comment - This problem was already fixed.
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Version 1.1.0 has been released.
        Closing this issue.

        Show
        Pierre-Arnaud Marcelot added a comment - Version 1.1.0 has been released. Closing this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development