Cant update portrait with ldap provider

After i update from 2.6 to 3.1, every thing seems correctly. but i just cant update the portrait and get this error: “java.lang.UnsupportedOperationException: VCard provider is read-only”.

but it did work in 2.6.

my wildfire.xml is :

]]>

uid

mail

cn

uniqueMember

description

false

(objectClass=groupOfUniqueNames)

Hi,

maybe Wildfire did not throw an exception but as far as I know it did never work as Wildfire uses LDAP as a read-only data source.

LG

so is there a way of using LDAP and yet storing avatars elsewhere?

Thanks.

in version 2.6.2,i can change the portrait with ldap provider,

my wildfire.xml:

it seems that the wildfire use the ldap only for authentication and store the user’'s data in the database which is what i want. Can version 3.1.1 work in this way ?

Hi,

are you using the LdapVCardProvider? The configuration file you did post does not contain such a section but it contains the vcard-mapping.

LG

Unfortunately, this doesn’'t work right now – Wildfire treats LDAP as read-only and avatars are stored in the vCard. There are a couple of issues that would encompass fixes for this:

  • JM-460

  • JM-773

I’'d be interested in your input on which approach would work well for you.

Regards,

Mat

Thanks a lot.

it is the problem.

now i comment the vcard-mapping and LdapVCardProvider in my wildfire.xml and it works great!