directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1040) Unrequested attributes returned on ldap search
Date Tue, 28 Aug 2007 20:01:30 GMT


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:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>         Environment: ApacheDS 1.0.2
> Java version
> 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

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

View raw message