Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-371

Entries with a ref attribute should be shown N times in the browser (N = number of ref values)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.5.0
    • Component/s: studio-ldapbrowser
    • Labels:
      None

      Description

      When creating an entry with some ref attribute, it should be shown as N entries, if we have N different ref values, as each referal represent an entry on another server (the 'follow' flag should be selected on the connection preference).

      This is what does LdapBrowser.

      Here is an exemple of entry, attached, and the ldapbrowser snapshot

      1. ldapbrowser-ldif-referral.png
        37 kB
        Emmanuel Lecharny
      2. ldif-referal.txt
        0.3 kB
        Emmanuel Lecharny

        Activity

        Hide
        Pierre-Arnaud Marcelot added a comment -

        Apache Directory Studio version 1.5.0 has been released.

        Show
        Pierre-Arnaud Marcelot added a comment - Apache Directory Studio version 1.5.0 has been released.
        Hide
        Stefan Seelmann added a comment -

        There are two modes in 1.5.0:

        "Follow referrals manually": This does what you requested. All URLs provided in each referral (search continuation) are displayed in the tree. The user could decide which URL s/he wants to follow. If the referral objects below are injected into the server then all three URLs are displayed in the tree.

        "Follow referrals automatically": Here we choose the first URL of each referral (search continuation). Regarding to RFC 3296 all URLs of one referral object should be equivalent, so it makes no sense to follow them all. If the referral objects below are injected into the server then only ldap:///cn=a and ldap:///cn=b are displayed.

        dn: cn=ref1
        ref: ldap:///cn=a
        ref: ldap:///cn=b
        ...

        dn: cn=ref2
        ref: ldap:///cn=c
        ...

        Show
        Stefan Seelmann added a comment - There are two modes in 1.5.0: "Follow referrals manually": This does what you requested. All URLs provided in each referral (search continuation) are displayed in the tree. The user could decide which URL s/he wants to follow. If the referral objects below are injected into the server then all three URLs are displayed in the tree. "Follow referrals automatically": Here we choose the first URL of each referral (search continuation). Regarding to RFC 3296 all URLs of one referral object should be equivalent, so it makes no sense to follow them all. If the referral objects below are injected into the server then only ldap:///cn=a and ldap:///cn=b are displayed. dn: cn=ref1 ref: ldap:///cn=a ref: ldap:///cn=b ... dn: cn=ref2 ref: ldap:///cn=c ...
        Hide
        Emmanuel Lecharny added a comment -

        The ldif injected

        Show
        Emmanuel Lecharny added a comment - The ldif injected
        Hide
        Emmanuel Lecharny added a comment -

        Ldapbrowser snapshot

        Show
        Emmanuel Lecharny added a comment - Ldapbrowser snapshot

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development