Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E2809CA8 for ; Tue, 28 Feb 2012 11:52:13 +0000 (UTC) Received: (qmail 87038 invoked by uid 500); 28 Feb 2012 11:52:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 87001 invoked by uid 500); 28 Feb 2012 11:52:13 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 86994 invoked by uid 99); 28 Feb 2012 11:52:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 11:52:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 11:52:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BBE2833E544 for ; Tue, 28 Feb 2012 11:51:48 +0000 (UTC) Date: Tue, 28 Feb 2012 11:51:48 +0000 (UTC) From: "Emmanuel Lecharny (Commented) (JIRA)" To: dev@directory.apache.org Message-ID: <771654628.27589.1330429908770.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <386962608.51171.1325156130868.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DIRSERVER-1681) adding entries with attribute userCertificate;binary fails with "No such attribute" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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