Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-960

Search doesn't work in case of some valid filter

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.0-M8 (2.0.0.v20130628)
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hello,

      I am very new in reporting bug to your system. But I give it a try.

      So the problem is the following and how I reproduced that:

      1. I installed the effected version of ADS.
      2. After that created a default server (right click -> new -> server)
      3. Set m-disabled from TRUE to FALSE at ou=schema cn=nis.
      (I need posixGroup and posixAccount)
      4. I created a new posixGroup with the following DN: cn=Zoldsegek,ou=groups,ou=system
      And set gidnumber to 1.
      5. After that I made a filter to find that Group. The filter was the following:
      "(|(&(objectclass=posixGroup)(gidnumber=1))(objectClass=posixGroupp))"
      And I got the proper DN.
      6. I tried another filter which I guess should work. Filter:
      "(|(&(objectclass=posixGroup)(|(gidnumber=1)(gidnumber=1)))(objectClass=posixGroupp))"

      Actual result:
      I don't get the group "Zoldsegek" in the result

      Expected result:

      I get the group "Zoldsegek" in the result.

      Do you need any information for the bug ? (If it is a bug or I just missed something

        Activity

        Hide
        Emmanuel Lecharny added a comment -

        This is just the perfect way to create a JIRA !

        First of all, which LDAP server are you using ? I have tested the filters on ApacheDS trunk, and it works just fine, both of them...

        Show
        Emmanuel Lecharny added a comment - This is just the perfect way to create a JIRA ! First of all, which LDAP server are you using ? I have tested the filters on ApacheDS trunk, and it works just fine, both of them...
        Hide
        Laszlo Meszaros added a comment -

        Glad to hear that

        I created that type of server:
        ApacheDS 1.5.4

        Show
        Laszlo Meszaros added a comment - Glad to hear that I created that type of server: ApacheDS 1.5.4
        Hide
        Emmanuel Lecharny added a comment -

        Woot... This is a 5 years old version ! Just gve a try to a 2.0 version !

        Show
        Emmanuel Lecharny added a comment - Woot... This is a 5 years old version ! Just gve a try to a 2.0 version !
        Hide
        Laszlo Meszaros added a comment -

        Hm... This is the first advice in the window where I can create ldap server.
        And unfortunatelly I don't know, how can i add posixGroup entry under group. (The trick that work under Apace DS 1.5.4 doesn't work under 2.0.0)

        This is the version of the Apace Directory Studio: Version: 2.0.0.v20130628

        Show
        Laszlo Meszaros added a comment - Hm... This is the first advice in the window where I can create ldap server. And unfortunatelly I don't know, how can i add posixGroup entry under group. (The trick that work under Apace DS 1.5.4 doesn't work under 2.0.0) This is the version of the Apace Directory Studio: Version: 2.0.0.v20130628
        Hide
        Emmanuel Lecharny added a comment -

        In order to be able to use the posixAcount, you have to first enable the NIS schema (the procedure is the one you have listed). Although, in Studio, if you want to see this schema OCs and ATs, there is a trick you have to reload the schema (click the small icon on the right of the Object Class popup when you create a new entry).

        That should work.

        Show
        Emmanuel Lecharny added a comment - In order to be able to use the posixAcount, you have to first enable the NIS schema (the procedure is the one you have listed). Although, in Studio, if you want to see this schema OCs and ATs, there is a trick you have to reload the schema (click the small icon on the right of the Object Class popup when you create a new entry). That should work.
        Hide
        Laszlo Meszaros added a comment -

        Hali,

        Thanks for the instructions I will try it today and response ASAP.

        Show
        Laszlo Meszaros added a comment - Hali, Thanks for the instructions I will try it today and response ASAP.
        Hide
        Stefan Seelmann added a comment -

        Tested with current Studio and ApacheDS trunk. Both search filters work as expected and return the entry.

        Show
        Stefan Seelmann added a comment - Tested with current Studio and ApacheDS trunk. Both search filters work as expected and return the entry.

          People

          • Assignee:
            Unassigned
            Reporter:
            Laszlo Meszaros
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development