From: Kurt Zeilenga Date: Thu, 3 Nov 2005 22:49:03 +0000 (+0000) Subject: Add test case for ITS#4100 X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~109 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a4ef4b0e06b01e8151327f17b64b66c52d8404d4;p=openldap Add test case for ITS#4100 Could not duplicate problem using correct form: delete: userCertificate;binary Improper form delete: userCertificate produces error as expected. --- diff --git a/tests/scripts/test021-certificate b/tests/scripts/test021-certificate index c1609c16aa..ce102f0221 100755 --- a/tests/scripts/test021-certificate +++ b/tests/scripts/test021-certificate @@ -153,6 +153,7 @@ userCertificate;binary:: 5MCKLu9bGJUjsKnGdm/KpaNwaNo= dn: cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com +changetype: modify add: userCertificate;binary userCertificate;binary:: MIIDjDCCAvWgAwIBAgIBAzANBgkqhkiG9w0BAQQFADB3MQswCQYDVQQGEwJVUzET @@ -197,6 +198,32 @@ userCertificate;binary:: T8k50x4C7oE8HwZuEEB4FM7S1Zig3dfeJ8MJgdaLqt5/U9Ip/hZdzG2dsUsIceH/ 5MCKLu9bGJUjsKnGdm/KpaNwaNo= +dn: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com +changetype: modify +replace: userCertificate;binary +userCertificate;binary:: + MIIDjDCCAvWgAwIBAgIBAzANBgkqhkiG9w0BAQQFADB3MQswCQYDVQQGEwJVUzET + MBEGA1UECBMKQ2FsaWZvcm5pYTEfMB0GA1UEChMWT3BlbkxEQVAgRXhhbXBsZSwg + THRkLjETMBEGA1UEAxMKRXhhbXBsZSBDQTEdMBsGCSqGSIb3DQEJARYOY2FAZXhh + bXBsZS5jb20wHhcNMDMxMDE3MTYzNTM1WhcNMDQxMDE2MTYzNTM1WjCBnjELMAkG + A1UEBhMCVVMxETAPBgNVBAgTCE1pY2hpZ2FuMR8wHQYDVQQKExZPcGVuTERBUCBF + eGFtcGxlLCBMdGQuMRswGQYDVQQLExJBbHVt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