Hi everyone,
I am trying to get a jabberd2 server up and running but am running into issues 
relating to avatars. Currently, the XML Console of Adium spits out this:

<iq xmlns='jabber:client' id='purplefecdf961' type='error'>
        <error type='wait' code='500'><internal-server-error 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error><vCard xmlns='vcard-temp'>
                <N>
                        <FAMILY>Impervius</FAMILY>
                </N>
                <NICKNAME>timeimp</NICKNAME>
                <PHOTO>
                        <TYPE>image/png</TYPE>
                        <BINVAL> removed for simplicities sake </BINVAL>
                </PHOTO>
        </vCard>
</iq>

after sending to the server this message:

<iq type='set' id='purplefecdf961'>
        <vCard xmlns='vcard-temp'>
                <N>
                        <FAMILY>Impervius</FAMILY>
                </N>
                <NICKNAME>timeimp</NICKNAME>
                <PHOTO>
                        <TYPE>image/png</TYPE>
                        <BINVAL> removed for simplicities sake </BINVAL>
                </PHOTO>
        </vCard>
</iq>
                
I am using LDAP and have limited the max size of avatars to 100KB (as a test) 
and have the attribute of jpegPhoto on the object in the LDAP database. 

So my query is: can you specify which LDAP attribute is used for photo or is it 
hard coded?

Many thanks,
        -James

Reply via email to