directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcos Mendez <mar...@jitisoft.com>
Subject binary field + xml file
Date Mon, 23 Sep 2013 20:57:04 GMT
Hi,

I'm trying to save an xml (svg) file into a binary field in ADS. For some reason I'm getting
a class cast exception. 

javax.naming.NamingException: [LDAP: error code 80 - OTHER: failed for MessageType : MODIFY_REQUEST
Message ID : 3
    Modify Request
        Object : 'uid=ztest,ou=testUsers,ou=users,dc=security,dc=testme,dc=com'
            Modification[0]
                Operation :  add
                Modification
binary_field: '0x3C 0x3F 0x78 0x6D 0x6C 0x20 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x3D 0x22
0x31 ...'
org.apache.directory.api.ldap.model.message.ModifyRequestImpl@e9f9ec97    ManageDsaITImpl
Control
        Type OID    : '2.16.840.1.113730.3.4.2'
        Criticality : 'false'
'
: null:
java.lang.ClassCastException
]; remaining name 'uid=ztest,ou=testUsers,ou=users,dc=security,dc=test-me,dc=com'

We've saved a png with no issues, so I don't understand what could be the problem. Any ideas?

Regards,
Marcos


Mime
View raw message