You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Ricardo Chicca Junior (JIRA)" <ji...@apache.org> on 2007/08/28 21:07:31 UTC
[jira] Created: (DIRSERVER-1040) Unrequested attributes returned on
ldap search
Unrequested attributes returned on ldap search
----------------------------------------------
Key: DIRSERVER-1040
URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
Project: Directory ApacheDS
Issue Type: Bug
Affects Versions: 1.0-RC2
Environment: ApacheDS 1.0.2
Java version 1.6.0.02-b06
Windows XP SP2
LDAPSEARCH Tolls from (both with the same wrong results):
LDAP SUN SDK4.1 and
Netscape Directory SDK for java
Reporter: Ricardo Chicca Junior
Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1040) Unrequested attributes returned on
ldap search
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1040:
-----------------------------------------
Here is what we can do, considering the different cases :
1) No attributes are given => it's supposed to behave like if the users has passed '*'
2) We have only a "1.1" selector => returns nothing (a kind of 'exists' request)
3) We have only a "*" selector => returns all the user attributes
4) We have a list of attributes
4.1) There is no empty attributes, no '*" and no "1.1" => return the requested attributes
4.2) We have a "*" => returns all the user attributes and the requested attributes. If they overlap, don't duplicate the attributes (this is usefull to get operationalAttributes, for instance)
4.3) We have a "1.1" among other attributes=> just ignore "1.1"
4.4) We have an empty attribute => ignore it
I'm positive that all those cases are not handled well either in 1.0.3 or in 1.5.0. I will fix it.
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRSERVER-1040) Unrequested attributes returned
on ldap search
Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Ayyagari resolved DIRSERVER-1040.
---------------------------------------
Resolution: Fixed
fixed as part of DIRSERVER-1380
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
> Fix For: 1.0.3
>
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1040) Unrequested attributes returned on
ldap search
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1040:
-----------------------------------------
Fix Version/s: 1.0.3
1.5.1
Affects Version/s: 1.5.0
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2, 1.5.0
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
> Fix For: 1.5.1, 1.0.3
>
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-1040) Unrequested attributes returned
on ldap search
Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523330 ]
Stefan Zoerner commented on DIRSERVER-1040:
-------------------------------------------
I can reproduce this error with a ApacheDS 1.0.3 SNAPSHOT.
But it seems to be related to either the Java-Version of the Search-Tool or the LDAP library from Sun/Netscape itself.
Here is what happens in my environment (Windows XP and Java 6 as well)
Native client from Sun ONE works fine:
$ ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -D "uid=admin,ou=system" -w secret "(cn=Tori*)" sn
version: 1
dn: cn=Tori Amos,dc=example,dc=com
But with tools (implemented in Java) from Sun ONE Directory SDK for Java 4.1 (which you use)
$ java -cp ../packages/ldapjdk.jar LDAPSearch -h localhost -p 10389 -D "uid=admin,ou=system" -w secret -b "dc=example,dc=com" ("cn=Tori*") sn
dn: cn=Tori Amos,dc=example,dc=com
sn: Amos
userpassword: geheim
cn: Tori Amos
objectClass: person
(wrong, only sn attribute is expected)
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1040) Unrequested attributes returned on
ldap search
Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Zoerner updated DIRSERVER-1040:
--------------------------------------
Environment:
ApacheDS 1.0.2
Java version 1.6.0.02-b06
Windows XP SP2
LDAPSEARCH Tools from (both with the same wrong results):
LDAP SUN SDK4.1 and
Netscape Directory SDK for java
was:
ApacheDS 1.0.2
Java version 1.6.0.02-b06
Windows XP SP2
LDAPSEARCH Tolls from (both with the same wrong results):
LDAP SUN SDK4.1 and
Netscape Directory SDK for java
Affects Version/s: (was: 1.0-RC2)
1.0.2
Adjusted version
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1040) Unrequested attributes returned on
ldap search
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1040:
-----------------------------------------
Affects Version/s: (was: 1.5.0)
Fix Version/s: (was: 1.5.1)
Reaffected to 1.0.3 only
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
> Fix For: 1.0.3
>
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (DIRSERVER-1040) Unrequested attributes returned
on ldap search
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny reopened DIRSERVER-1040:
------------------------------------------
Not fixed in 1.0.3
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
> Fix For: 1.0.3
>
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRSERVER-1040) Unrequested attributes returned
on ldap search
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRSERVER-1040.
------------------------------------------
Resolution: Fixed
Fixed for 1.5.0 :
http://svn.apache.org/viewvc?rev=570743&view=rev
http://svn.apache.org/viewvc?rev=570745&view=rev
http://svn.apache.org/viewvc?rev=570747&view=rev
http://svn.apache.org/viewvc?rev=570748&view=rev
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
> Fix For: 1.5.1, 1.0.3
>
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRSERVER-1040) Unrequested attributes returned on
ldap search
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-1040.
----------------------------------------
> Unrequested attributes returned on ldap search
> ----------------------------------------------
>
> Key: DIRSERVER-1040
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1040
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.2
> Environment: ApacheDS 1.0.2
> Java version 1.6.0.02-b06
> Windows XP SP2
> LDAPSEARCH Tools from (both with the same wrong results):
> LDAP SUN SDK4.1 and
> Netscape Directory SDK for java
> Reporter: Ricardo Chicca Junior
> Fix For: 1.0.3
>
>
> Unexpected results for LDAP search operations against ApacheDS server using some LDAPSEARH clients. The list of attributes requested is not being respected. All attributes are being returned
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.