Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1681

adding entries with attribute userCertificate;binary fails with "No such attribute"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M3
    • Fix Version/s: 2.0.0-M6
    • Component/s: None
    • Labels:
      None

      Description

      $ 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"

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              gunter zeilinger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development