[
https://issues.apache.org/jira/browse/DIRSTUDIO-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087993#comment-17087993
]
Stefan Seelmann commented on DIRSTUDIO-1249:
--------------------------------------------
Can you check a few things?
Is the 1.3.6.1.4.1.1466.115.121.1.5 syntax listed in the "Binary Syntax
Definitions" preferences? (see
https://directory.apache.org/studio/users-guide/2.0.0.v20200411-M15/ldap_browser/preferences_binary_attributes.html)
Is the schema loaded by studio and is the attribute shown there with it's
correct syntax? (right-click connection -> Open Schema Browser -> Attributes
Types tab)
Is the the default userSMIMECertificate attribute defined in inetOrgPerson
object class? In any case please try to add the attribute name to the "Binary
Attributes" preferences (again
https://directory.apache.org/studio/users-guide/2.0.0.v20200411-M15/ldap_browser/preferences_binary_attributes.html)
> UTF-8 encoding problem
> ----------------------
>
> Key: DIRSTUDIO-1249
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1249
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 2.0.0-M15
> Environment: Windows 10
> PingDirectory ( https://www.pingidentity.com/en/software/pingdirectory.html )
> Reporter: Andrei
> Priority: Minor
> Attachments: image-2020-04-20-18-06-52-949.png,
> image-2020-04-20-18-07-26-199.png
>
>
> A binary value from the LDAP Server is parsed or encoded incorrectly in
> Apache Directory Studio.
> The value contains a SMIME Certificate and has the following properties:
> * m-syntax: 1.3.6.1.4.1.1466.115.121.1.5 (binary,
> [https://ldapwiki.com/wiki/1.3.6.1.4.1.1466.115.121.1.5] )
> * m-singleValue: TRUE
> The value has in reality 1667 bytes but is reported as binary data with a
> size of 2422 bytes.
> I can read the value correctly with a console program (ldapmodify) but I
> can't get the correct value in Apache Directory Studio. I've tried to copy
> the value as base64, export the user as LDIF, and to open with the hex editor
> and trying to save the data).
> In the output there are a lot of "EF BF BD" sequences (the UTF-8 encoded
> 'Replacement Character')
> [https://www.fileformat.info/info/unicode/char/fffd/index.htm]
> !image-2020-04-20-18-06-52-949.png!
> The correct file should look like this:
> !image-2020-04-20-18-07-26-199.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]