Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 80058 invoked from network); 15 Jan 2007 14:13:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2007 14:13:52 -0000 Received: (qmail 19969 invoked by uid 500); 15 Jan 2007 14:13:56 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 19330 invoked by uid 500); 15 Jan 2007 14:13:55 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 19301 invoked by uid 99); 15 Jan 2007 14:13:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jan 2007 06:13:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jan 2007 06:13:48 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D58767142B6 for ; Mon, 15 Jan 2007 06:13:27 -0800 (PST) Message-ID: <29228583.1168870407872.JavaMail.jira@brutus> Date: Mon, 15 Jan 2007 06:13:27 -0800 (PST) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-826) User or operational attributes are missing in search results, if both are requested by a client In-Reply-To: <13983698.1168692808016.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464810 ] Emmanuel Lecharny commented on DIRSERVER-826: --------------------------------------------- Only one out of '*' and '+' is added to the attribute list to be returned (the first one, in fact). If we put to real attributes (like 'cn', 'sn'), we get them both, so it' snot a bug in the attribnute's paring. There should be a special case if we have '*' and '+'. > User or operational attributes are missing in search results, if both are requested by a client > ----------------------------------------------------------------------------------------------- > > Key: DIRSERVER-826 > URL: https://issues.apache.org/jira/browse/DIRSERVER-826 > Project: Directory ApacheDS > Issue Type: Bug > Components: core > Affects Versions: 1.0.1, 1.5.0 > Reporter: Stefan Zoerner > Assigned To: Emmanuel Lecharny > > I assume that fixing DIRSERVER-804 had an undesired side effect. Here are two search ops, that work in the current 1.0.1 (default server.xml settings): > $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -b "ou=system" -s base "(ObjectClass=*)" + > version: 1 > dn: ou=system > createTimestamp: 20070113123859Z > creatorsName: uid=admin,ou=system > $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -b "ou=system" -s base "(ObjectClass=*)" * > version: 1 > dn: ou=system > ou: system > objectclass: top > objectclass: organizationalUnit > objectclass: extensibleObject > $ > But if someone combines + and * in order to get all the attributes, s/he gets this > $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -b "ou=system" -s base "(ObjectClass=*)" * + > version: 1 > dn: ou=system > createTimestamp: 20070113123859Z > creatorsName: uid=admin,ou=system > $ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -b "ou=system" -s base "(ObjectClass=*)" + * > version: 1 > dn: ou=system > ou: system > objectclass: top > objectclass: organizationalUnit > objectclass: extensibleObject > Either the operational or the user attributes are missing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira