directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@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
Date Fri, 18 Aug 2006 12:21:14 GMT
     [ 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

        

Mime
View raw message