You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Icky Dude (JIRA)" <ji...@apache.org> on 2008/03/10 17:17:49 UTC

[jira] Created: (DIRSERVER-1145) Unable to search RootDSE Operational attributes

Unable to search RootDSE Operational attributes
-----------------------------------------------

                 Key: DIRSERVER-1145
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1145
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: ldap
    Affects Versions: bigbang
            Reporter: Icky Dude


Using "bigbang" I've found that ApacheDS does not respond properly to
Root DSE searches for both "+" (all operational) and "*" (all
non-operational) attributes".  I believe that the following  change
fixes the problem:

$ svn diff DefaultPartitionNexus.java
Index: DefaultPartitionNexus.java
===================================================================
--- DefaultPartitionNexus.java  (revision 634445)
+++ DefaultPartitionNexus.java  (working copy)
@@ -1002,7 +1002,7 @@
                    {
                        serverEntry.put( attribute );
                    }
-                    else if ( containsPlus && ( type.getUsage() ==
UsageEnum.USER_APPLICATIONS ) )
+                    else if ( containsPlus && ( type.getUsage() !=
UsageEnum.USER_APPLICATIONS ) )
                    {
                        serverEntry.put( attribute );
                    }

Without this fix, ApacheDS treats the following ldap searches return
identical responses (neither will return operational attributes):

$ ldapsearch -x -h localhost -p10389 -s base -b "" '+'
$ ldapsearch -x -h localhost -p10389 -s base -b "" '*'

With the fix, ApacheDS responds correctly -- or as least as correct
with respect to the attribute usage assigned to the rootDSE
attributes.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1145) Unable to search RootDSE Operational attributes

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578524#action_12578524 ] 

Emmanuel Lecharny commented on DIRSERVER-1145:
----------------------------------------------

Alex,

if you can just double check that this fix is ok, I can commit it, as I already applied it locally.

Just let me know (it's just one char anyway ;)

> Unable to search RootDSE Operational attributes
> -----------------------------------------------
>
>                 Key: DIRSERVER-1145
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1145
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: bigbang
>            Reporter: Icky Dude
>            Assignee: Alex Karasulu
>             Fix For: 1.5.2
>
>
> Using "bigbang" I've found that ApacheDS does not respond properly to
> Root DSE searches for both "+" (all operational) and "*" (all
> non-operational) attributes".  I believe that the following  change
> fixes the problem:
> $ svn diff DefaultPartitionNexus.java
> Index: DefaultPartitionNexus.java
> ===================================================================
> --- DefaultPartitionNexus.java  (revision 634445)
> +++ DefaultPartitionNexus.java  (working copy)
> @@ -1002,7 +1002,7 @@
>                     {
>                         serverEntry.put( attribute );
>                     }
> -                    else if ( containsPlus && ( type.getUsage() ==
> UsageEnum.USER_APPLICATIONS ) )
> +                    else if ( containsPlus && ( type.getUsage() !=
> UsageEnum.USER_APPLICATIONS ) )
>                     {
>                         serverEntry.put( attribute );
>                     }
> Without this fix, ApacheDS treats the following ldap searches return
> identical responses (neither will return operational attributes):
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '+'
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '*'
> With the fix, ApacheDS responds correctly -- or as least as correct
> with respect to the attribute usage assigned to the rootDSE
> attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSERVER-1145) Unable to search RootDSE Operational attributes

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-1145.
------------------------------------------

    Resolution: Fixed

Patch applied.

> Unable to search RootDSE Operational attributes
> -----------------------------------------------
>
>                 Key: DIRSERVER-1145
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1145
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: bigbang
>            Reporter: Icky Dude
>            Assignee: Alex Karasulu
>             Fix For: 1.5.2
>
>
> Using "bigbang" I've found that ApacheDS does not respond properly to
> Root DSE searches for both "+" (all operational) and "*" (all
> non-operational) attributes".  I believe that the following  change
> fixes the problem:
> $ svn diff DefaultPartitionNexus.java
> Index: DefaultPartitionNexus.java
> ===================================================================
> --- DefaultPartitionNexus.java  (revision 634445)
> +++ DefaultPartitionNexus.java  (working copy)
> @@ -1002,7 +1002,7 @@
>                     {
>                         serverEntry.put( attribute );
>                     }
> -                    else if ( containsPlus && ( type.getUsage() ==
> UsageEnum.USER_APPLICATIONS ) )
> +                    else if ( containsPlus && ( type.getUsage() !=
> UsageEnum.USER_APPLICATIONS ) )
>                     {
>                         serverEntry.put( attribute );
>                     }
> Without this fix, ApacheDS treats the following ldap searches return
> identical responses (neither will return operational attributes):
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '+'
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '*'
> With the fix, ApacheDS responds correctly -- or as least as correct
> with respect to the attribute usage assigned to the rootDSE
> attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSERVER-1145) Unable to search RootDSE Operational attributes

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-1145.
----------------------------------------


closed

> Unable to search RootDSE Operational attributes
> -----------------------------------------------
>
>                 Key: DIRSERVER-1145
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1145
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.4
>            Reporter: Icky Dude
>            Assignee: Alex Karasulu
>             Fix For: 1.5.2
>
>
> Using "bigbang" I've found that ApacheDS does not respond properly to
> Root DSE searches for both "+" (all operational) and "*" (all
> non-operational) attributes".  I believe that the following  change
> fixes the problem:
> $ svn diff DefaultPartitionNexus.java
> Index: DefaultPartitionNexus.java
> ===================================================================
> --- DefaultPartitionNexus.java  (revision 634445)
> +++ DefaultPartitionNexus.java  (working copy)
> @@ -1002,7 +1002,7 @@
>                     {
>                         serverEntry.put( attribute );
>                     }
> -                    else if ( containsPlus && ( type.getUsage() ==
> UsageEnum.USER_APPLICATIONS ) )
> +                    else if ( containsPlus && ( type.getUsage() !=
> UsageEnum.USER_APPLICATIONS ) )
>                     {
>                         serverEntry.put( attribute );
>                     }
> Without this fix, ApacheDS treats the following ldap searches return
> identical responses (neither will return operational attributes):
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '+'
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '*'
> With the fix, ApacheDS responds correctly -- or as least as correct
> with respect to the attribute usage assigned to the rootDSE
> attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRSERVER-1145) Unable to search RootDSE Operational attributes

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu reassigned DIRSERVER-1145:
----------------------------------------

    Assignee: Alex Karasulu  (was: Emmanuel Lecharny)

> Unable to search RootDSE Operational attributes
> -----------------------------------------------
>
>                 Key: DIRSERVER-1145
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1145
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: bigbang
>            Reporter: Icky Dude
>            Assignee: Alex Karasulu
>             Fix For: 1.5.2
>
>
> Using "bigbang" I've found that ApacheDS does not respond properly to
> Root DSE searches for both "+" (all operational) and "*" (all
> non-operational) attributes".  I believe that the following  change
> fixes the problem:
> $ svn diff DefaultPartitionNexus.java
> Index: DefaultPartitionNexus.java
> ===================================================================
> --- DefaultPartitionNexus.java  (revision 634445)
> +++ DefaultPartitionNexus.java  (working copy)
> @@ -1002,7 +1002,7 @@
>                     {
>                         serverEntry.put( attribute );
>                     }
> -                    else if ( containsPlus && ( type.getUsage() ==
> UsageEnum.USER_APPLICATIONS ) )
> +                    else if ( containsPlus && ( type.getUsage() !=
> UsageEnum.USER_APPLICATIONS ) )
>                     {
>                         serverEntry.put( attribute );
>                     }
> Without this fix, ApacheDS treats the following ldap searches return
> identical responses (neither will return operational attributes):
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '+'
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '*'
> With the fix, ApacheDS responds correctly -- or as least as correct
> with respect to the attribute usage assigned to the rootDSE
> attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRSERVER-1145) Unable to search RootDSE Operational attributes

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny reassigned DIRSERVER-1145:
--------------------------------------------

    Assignee: Emmanuel Lecharny

> Unable to search RootDSE Operational attributes
> -----------------------------------------------
>
>                 Key: DIRSERVER-1145
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1145
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: bigbang
>            Reporter: Icky Dude
>            Assignee: Emmanuel Lecharny
>
> Using "bigbang" I've found that ApacheDS does not respond properly to
> Root DSE searches for both "+" (all operational) and "*" (all
> non-operational) attributes".  I believe that the following  change
> fixes the problem:
> $ svn diff DefaultPartitionNexus.java
> Index: DefaultPartitionNexus.java
> ===================================================================
> --- DefaultPartitionNexus.java  (revision 634445)
> +++ DefaultPartitionNexus.java  (working copy)
> @@ -1002,7 +1002,7 @@
>                     {
>                         serverEntry.put( attribute );
>                     }
> -                    else if ( containsPlus && ( type.getUsage() ==
> UsageEnum.USER_APPLICATIONS ) )
> +                    else if ( containsPlus && ( type.getUsage() !=
> UsageEnum.USER_APPLICATIONS ) )
>                     {
>                         serverEntry.put( attribute );
>                     }
> Without this fix, ApacheDS treats the following ldap searches return
> identical responses (neither will return operational attributes):
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '+'
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '*'
> With the fix, ApacheDS responds correctly -- or as least as correct
> with respect to the attribute usage assigned to the rootDSE
> attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1145) Unable to search RootDSE Operational attributes

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1145:
-----------------------------------------

    Fix Version/s: 1.5.2

> Unable to search RootDSE Operational attributes
> -----------------------------------------------
>
>                 Key: DIRSERVER-1145
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1145
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: bigbang
>            Reporter: Icky Dude
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.2
>
>
> Using "bigbang" I've found that ApacheDS does not respond properly to
> Root DSE searches for both "+" (all operational) and "*" (all
> non-operational) attributes".  I believe that the following  change
> fixes the problem:
> $ svn diff DefaultPartitionNexus.java
> Index: DefaultPartitionNexus.java
> ===================================================================
> --- DefaultPartitionNexus.java  (revision 634445)
> +++ DefaultPartitionNexus.java  (working copy)
> @@ -1002,7 +1002,7 @@
>                     {
>                         serverEntry.put( attribute );
>                     }
> -                    else if ( containsPlus && ( type.getUsage() ==
> UsageEnum.USER_APPLICATIONS ) )
> +                    else if ( containsPlus && ( type.getUsage() !=
> UsageEnum.USER_APPLICATIONS ) )
>                     {
>                         serverEntry.put( attribute );
>                     }
> Without this fix, ApacheDS treats the following ldap searches return
> identical responses (neither will return operational attributes):
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '+'
> $ ldapsearch -x -h localhost -p10389 -s base -b "" '*'
> With the fix, ApacheDS responds correctly -- or as least as correct
> with respect to the attribute usage assigned to the rootDSE
> attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.