Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 4325 invoked from network); 28 Aug 2007 12:35:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2007 12:35:32 -0000 Received: (qmail 47360 invoked by uid 500); 28 Aug 2007 12:35:28 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 47332 invoked by uid 500); 28 Aug 2007 12:35:28 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 47321 invoked by uid 99); 28 Aug 2007 12:35:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 05:35:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 66.249.82.231 as permitted sender) Received: from [66.249.82.231] (HELO wx-out-0506.google.com) (66.249.82.231) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 12:35:20 +0000 Received: by wx-out-0506.google.com with SMTP id h27so1743397wxd for ; Tue, 28 Aug 2007 05:34:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MDhuXn51Qd3vDG2eWCGyKxq5BRiqdadaJMK9NSuCwsZViQ30zthfA9fYl4y2xA5+kKhKNE6yFHQCelcEkLOAMpeQhmN8hv/JTVjbtOsMuWmAiLcsEx4b2rcKMrz07wm3x91Z6MGYNfF8y1NQKJuwz9ZBD3uP/9hYUwe2g8FC5uE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RAR2OdXCX0fHCVOwVRmKwC6WdQUOu0tpw+HU49qbGoKJIRqs1SdOdngO9Jy2OtQVI1ALW7CrmRMAf7XAomFvsYRWOktzR6LvLEdZ+zCVq/chA5ggV2m1JdEyUTd/HoxHUPaIw02qvvsP0h5inLZnqQDstJAslltxz+pM6UwnoNc= Received: by 10.90.113.18 with SMTP id l18mr534666agc.1188304498949; Tue, 28 Aug 2007 05:34:58 -0700 (PDT) Received: by 10.90.50.12 with HTTP; Tue, 28 Aug 2007 05:34:58 -0700 (PDT) Message-ID: Date: Tue, 28 Aug 2007 14:34:58 +0200 From: "Emmanuel Lecharny" Reply-To: elecharny@iktek.com To: users@directory.apache.org Subject: Re: Unrequested attributes returned on ldap search In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Hi, it would be interesting to know also where the LdapSearch tool you are using is coming from, as you are on windows. Thanks ! On 8/28/07, Ersin Er wrote: > Hello, > > It's really strange problem. Which version of ApacheDS are you using? > > On 8/28/07, Ricardo Chicca Junior wrote: > > > > Hi > > > > I'm starting to test ApacheDS. Most things are working well, but I'm > > getting unexpected results for search operations. As illustrated bellow= , the > > list of attributes requested is not being respected. All attributes are > > being returned (see the results of the same LDAPSEARCH operation agains= t a > > Netscape Directory Server for comparison). > > > > When searching the directory using java code I've got also unexpected > > results (this problem is not well defined yet). > > > > Tank you for reading my post > > > > > > > > > > -----------------------------------------------------------------------= ----------------------------- > > > > LDAPSEARCH results against a ApacheDS (only title and mail were request= ed > > but all attributes returned) > > > > > > > > > > > > C:\ldapjava\tools>java LDAPSearch -h www.chicca.com.br -b "o=3Dunicap.b= r" "cn=3Ded*" > > title mail > > > > dn: cn=3DEdmilson Domingos de Carvalho,ou=3DDISUP,ou=3DNIC,ou=3DPROGRAD= E,o=3D > > unicap.br > > > > uid: edmilson > > > > mail: edmilson@unicap.br > > > > sn: Carvalho > > > > ou: DISUP > > > > manager: cn=3DGilson Vasconcelos > > > > street:: UnVhIGRvIFByw61uY2lwZSwgNTI2 > > > > telephonenumber: 81-3216-4275 > > > > employeetype: Contratado > > > > userpassword: {SHA}8BHvvDDdnx7KgeFl8ODcbgtyQXs=3D > > > > title: Programador > > > > employeenumber: 34018 > > > > cn: Edmilson Domingos de Carvalho > > > > > > > > dn: cn=3DEduardo Bezerra P do Rego,ou=3DDAPAC,ou=3DNIC,ou=3DPROGRADE,o= =3Dunicap.br > > > > uid: eduardo > > > > mail: eduardo@unicap.br > > > > sn: Bezerra > > > > ou: DAPAC > > > > manager: cn=3DTeresa Faria > > > > telephonenumber: 81-3216-4272 > > > > employeetype: Contratado > > > > userpassword: {SHA}0Y5sPGw/zKCOIVBIwNBzOS5LKkk=3D > > > > title: Programador > > > > employeenumber: 34027 > > > > cn: Eduardo Bezerra P do Rego > > > > > > > > > > -----------------------------------------------------------------------= ----------------------------- > > > > LDAPSEARCH results against a Netscape Directory Server (only requested > > attributes returned) > > > > > > > > > > > > C:\ldapjava\tools>java LDAPSearch -h www.chicca.com.br -b "o=3Dunicap.b= r" "cn=3Ded*" > > title mail > > > > dn: cn=3DEdmilson Domingos de Carvalho,ou=3DDISUP,ou=3DNIC,ou=3DPROGRAD= E,o=3D > > unicap.br > > > > title: Programador > > > > mail: edmilson@unicap.br > > > > > > > > dn: cn=3DEduardo Bezerra P do Rego,ou=3DDAPAC,ou=3DNIC,ou=3DPROGRADE,o= =3Dunicap.br > > > > title: Programador > > > > mail: eduardo@unicap.br > > > > > > -- > Ersin Er > http://www.ersin-er.name > --=20 Regards, Cordialement, Emmanuel L=E9charny www.iktek.com