You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Zoerner (JIRA)" <ji...@apache.org> on 2007/08/28 22:01:30 UTC
[jira] Commented: (DIRSERVER-1040) Unrequested attributes returned
on ldap search
[ 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.