directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-1681) adding entries with attribute userCertificate;binary fails with "No such attribute"
Date Tue, 28 Feb 2012 11:51:48 GMT

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

Emmanuel Lecharny commented on DIRSERVER-1681:
----------------------------------------------

Wrong... It works in any case if the connection is schema aware. I consider the issue as fixed.
                
> adding entries with attribute userCertificate;binary fails with "No such attribute"
> -----------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1681
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1681
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M3
>            Reporter: gunter zeilinger
>
> $ ldapadd -xW -H ldap://localhost:10389 -D "uid=admin,ou=system" -f ~/dcm4chee-arc/dcm4chee-arc-beans/src/main/config/ldap/dcm4chee.ldif
> Enter LDAP Password: 
> adding new entry "dicomAETitle=DCM4CHEE,cn=Unique AE Titles Registry,cn=DICOM Configuration,dc=nodomain"
> adding new entry "dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=nodomain"
> ldap_add: No such attribute (16)
> 	additional info: NO_SUCH_ATTRIBUTE: failed for MessageType : ADD_REQUEST
> Message ID : 3
>     Add Request :
> Entry
>     dn[n]: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=nodomain
>     objectClass: dicomDevice
>     objectClass: pkiUser
>     dicomDeviceName: dcm4chee-arc
>     dicomAuthorizedNodeCertificateReference: dicomDeviceName=storescp,cn=Devices,cn=DICOM
Configuration,dc=nodomain
>     dicomInstalled: TRUE
>     dicomThisNodeCertificateReference: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM
Configuration,dc=nodomain
>     userCertificate;binary: '0x30 0x82 0x02 0x4D 0x30 0x82 0x01 0xB6 0xA0 0x03 0x02 0x01
0x02 0x02 0x04 0x4E ...'
> : ERR_04269 ATTRIBUTE_TYPE for OID usercertificate;binary does not exist!
> But adding attribute userCertificate;binary to existing entry works:
> $ ldapmodify -xW -H ldap://localhost:10389 -D "uid=admin,ou=system" 
> Enter LDAP Password: 
> dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=nodomain
> changetype: modify
> add: userCertificate;binary
> userCertificate;binary:: MIICTTCCAbagAwIBAgIETvRlSTANBgkqhkiG9w0BAQUFADBrMQs
>  wCQYDVQQGEwJBVDEPMA0GA1UECBMGVmllbm5hMQ8wDQYDVQQHEwZWaWVubmExEDAOBgNVBAoTB2
>  RjbTRjaGUxETAPBgNVBAsTCGRjbTRjaGVlMRUwEwYDVQQDEwxkY200Y2hlZS1hcmMwHhcNMTExM
>  jIzMTEyNjAxWhcNMTIxMjIyMTEyNjAxWjBrMQswCQYDVQQGEwJBVDEPMA0GA1UECBMGVmllbm5h
>  MQ8wDQYDVQQHEwZWaWVubmExEDAOBgNVBAoTB2RjbTRjaGUxETAPBgNVBAsTCGRjbTRjaGVlMRU
>  wEwYDVQQDEwxkY200Y2hlZS1hcmMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAIpyZpH077
>  XTZAvXt/TXSlqU/523X01Va4rzw9BOLITD1Yqo3gOQ4TFIO9WjHQaV1cwsAL5emi65ssd/YjrJH
>  WA6QBRHYDBGNldQlSzKduYS5BqaW3yhCBMw9lZLVN1Gh7QUgWknFNHpSH0uV65esBf598KFzRl8
>  eh8l4/njH9wNAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAeFaW8IJ3aitQDDL9chQ5k5YNFtZwNDd
>  nVnnsvGgYINYd2VYW6ql2BvXiH49qG5UPJZhqEIDD9VZd2GiJfI/16/YNZBE+0SgUQXsqED9Nmq
>  jZRNz0hO6Qddc9+wlBNmlGKyA+ftzNw0Uq1WqXh2IcrxTBMsDKKZLbqbAK7tiECPo=
> modifying entry "dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=nodomain"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message