[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17290737#comment-17290737
 ] 

Recolic Keghart commented on DIRSTUDIO-456:
-------------------------------------------

This problem is still not resolved. I'm trying to create a new entry with class 
`certificationAuthority`, and I can set the `binary` option. But It's still not 
sending the binary option. 

The screenshot and the `Modification Logs` are attached below. There's no 
`;binary` at all in the request sent. 

 

Screenshot:  
!https://recolic.net/res/apache.org-directory.studio-bug-report-20210225.01.png!
  (中国人须翻墙访问此链接)

Modification Logs: 

```
 #!RESULT ERROR
 #!CONNECTION ldap://localhost:389
 #!DATE 2021-02-25T07:14:32.994
 #!ERROR authorityRevocationList: requires ;binary transfer
 dn: cn=asd,c=tw,cn=doc1,dc=example,dc=org
 changetype: add
 authorityRevocationList:: YXNkZmFzZGY=
 cACertificate:: MIIFfDCCBGSgAwIBAgISA2rGpfPSuFPYS+kilORBtCTXMA0GCSqGSIb3DQEBCw
 UAMDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJSMzAeFw0
 yMTAyMjUwNDU4MDRaFw0yMTA1MjYwNDU4MDRaMEYxRDBCBgNVBAMTO3Rlc3QtbGRhcHN0b3JlLmRv
 LW5vdC10cnVzdC1tZS1pbi1wcm9kLnRlc3Qtb25seS5yZWNvbGljLmNjMIIBIjANBgkqhkiG9w0BA
 QEFAAOCAQ8AMIIBCgKCAQEAxa6tlA/swvZDvw7cNdB0eQfqKSyEQZT8vRxWOkQN8235jDiOyL3hck
 pIm6mzT2RZc3NDqN2aO/bYq6wuOL9Oa/i1LvyJLu3dOqdhHpi0dhw3OZXBztkKbyYVk9GRjZbIpu4
 eXLlRPEy/wuGTKQtVnhk+5apDOFJcRzKcZ7wXn6ejhlBB8LKNHCvgIAiwre2Pm5fRzPmq+BkhjilW
 F1ixrrV60JT8SAv+TBUDdT7xrxaUAsnKN/B+Pe8ndF1D8U8C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nYUtOLpJ+oTjZSlh3JYlwPV+qZ86PXuh8pEbTavlHaFKQm7eJ0ZlvA0Yq/WZfI1Hep+m2C
 7aH8muSHbr8DxUVvhRUSvfc6iKxB2hhZt28u/Oou9/uOMo59tpddjsez+SbeEfXKgewqDiosaKLk5
 z+oTq07dHYbOfVzpINEBHkW1vyYscKvwB+joUJ1lB8Bc3/y9wvdDmU/HVYtw8NnLmF2b205QbXor9
 IQjrqotIMdd/o2Ga/WPDcntBwVhlSTaBBjw8aajPv3aZQ==
 cn: asd
 objectClass: certificationAuthority
 objectClass: top
 certificateRevocationList:: YXNkZmFzZGZzYWQ=
 ```

> Cannot create an entry with mandatory binary attribute
> ------------------------------------------------------
>
>                 Key: DIRSTUDIO-456
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-456
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.3.0
>         Environment: Windows XP SP2
>            Reporter: Stephane Vergnes
>            Assignee: Stefan Seelmann
>            Priority: Major
>             Fix For: 1.4.0
>
>
> I try to create a new entry thas has a mandatory binary attribute, for 
> example an entry with objectClass=top, person and strongAuthenticationUser
> I set a value for each mandatory attributes which are cn, sn and 
> userCertificate
> When I press Finish button in the New Entry wizard, an error occurs with 
> "Error while creating entry" message, and details are "[LDAP: error code 17 - 
> userCertificate: requires ;binary transfer]"
> The problem is that the mandatory userCertificate attribute description in 
> attribute list is "userCertificate" and not "userCertificate;binary" as it 
> should be. The generated LDIF has not the ";binary" tag, so that the 
> modification is rejected.
> For an optional binary attribute, it is possible to edit attribute 
> description and set the binary option. But this is not available for 
> mandatory attribute.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to