Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: ejabberd 2.1.4, ejabberd 2.1.5, ejabberd 3.0.0-alpha-1
-
Fix Version/s: ejabberd 2.1.6, ejabberd 3.0.0-alpha-2
-
Component/s: vCard
-
Labels:None
-
Company:
-
Last commented by user ?:true
Description
Problem also reported in http://www.ejabberd.im/node/4107
Unable to retrieve vcard information in ejabberd 2.1.4 if mod_vcard_ldap is used and user has jpegPhoto attribute in the LDAP. Everything was fine in 2.1.3
fragment of my configuration file:
{mod_vcard_ldap,[
,
,
,
,
,
{ldap_vcard_map,
[
,
,
,
,
,
,
,
,
,
{"PHOTO", "%s", ["jpegPhoto"]} ]},
%% Search form
{ldap_search_fields,
[
,
,
,
]},
%% vCard fields to be reported
%% Note that JID is always returned with search results
{ldap_search_reported,
[
,
,
,
]}]},
In XML Console of PSI jabber client I can see following:
[request]
<iq type="get" to="user1@myjabberhost" id="aacba" >
<query xmlns="jabber:iq:last"/>
</iq>
<iq type="get" to="user1@myjabberhost" id="aacca" >
<vCard xmlns="vcard-temp" version="2.0" prodid="-//HandGen//NONSGML vGen v1.0//EN" />
</iq>
[response]
<iq from="user1@myjabberhost" type="error" to="user2@myjabberhost/Psi" id="aacba" >
<query xmlns="jabber:iq:last"/>
<error type="cancel" code="405" >
<not-allowed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
<iq from="user1@myjabberhost" type="error" to="user2@myjabberhost/Psi" id="aacca" >
<vCard xmlns="vcard-temp" version="2.0" prodid="-//HandGen//NONSGML vGen v1.0//EN" />
<error type="wait" code="500" >
<internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
I have the same issue.