Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 66329 invoked from network); 18 Aug 2006 12:24:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2006 12:24:14 -0000 Received: (qmail 82211 invoked by uid 500); 18 Aug 2006 12:24:14 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 82024 invoked by uid 500); 18 Aug 2006 12:24:14 -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 82013 invoked by uid 99); 18 Aug 2006 12:24:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Aug 2006 05:24:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Aug 2006 05:24:13 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CFBCD7142B7 for ; Fri, 18 Aug 2006 12:21:14 +0000 (GMT) Message-ID: <31835274.1155903674848.JavaMail.jira@brutus> Date: Fri, 18 Aug 2006 05:21:14 -0700 (PDT) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-612) apacheds-tools dump command does NOT generate the correct base 64 output for binary attributes in LDIF dump In-Reply-To: <3321790.1146454426313.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-612?page=all ] Pierre-Arnaud Marcelot updated DIRSERVER-612: --------------------------------------------- Attachment: ADS-1.1.0-2006-08-18.patch Here's the patch for Trunks. The output is now ok. I also corrected a possible bug. The DN is now encoded to Base64 if it needs to. It was printed as is before. --- #--------------------- # Entry: 138 #--------------------- dn: Y249TMOpY2hhcm55LCBkYz1leGFtcGxlLGRjPWNvbQ== cn:: TMOpY2hhcm55 objectclass: person objectclass: top --- Moreover, lines are now folded every 80 characters. --- #--------------------- # Entry: 92 #--------------------- dn: cn=newperson, dc=example,dc=com jpegphoto:: /9j/4AAQSkZJRgABAQEASABIAAD//gAoRmlsZSB3cml0dGVuIGJ5IEFkb2JlIFBob3Rv vc2hvcKggNC4wAA3/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIx wcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyM jIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAMABAADASIAAhEBAxEB/8QAHwAAAQUB AQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE [...] --- > apacheds-tools dump command does NOT generate the correct base 64 output for binary attributes in LDIF dump > ----------------------------------------------------------------------------------------------------------- > > Key: DIRSERVER-612 > URL: http://issues.apache.org/jira/browse/DIRSERVER-612 > Project: Directory ApacheDS > Issue Type: Bug > Components: tools > Affects Versions: 1.0-RC2 > Reporter: Alex Karasulu > Assigned To: Alex Karasulu > Priority: Critical > Fix For: 1.0-RC4 > > Attachments: ads-1.0RC4-DIRSERVER-612-apacheds.patch, ads-1.0RC4-DIRSERVER-612-shared.patch, ADS-1.1.0-2006-08-18.patch, ads-1.1.0-DIRSERVER-612.patch > > > The dump command which produces LDIF dumps of partitions is not generating the base64 encoded values for binary attributes. It seems to be printing just the byte[] which shows the id of the object in the jvm instead of the base64 encoded value. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira