Your message dated Sun, 03 Jan 2016 00:17:10 +0000
with message-id <[email protected]>
and subject line Bug#797645: fixed in ejabberd 14.07-4+deb8u3
has caused the Debian Bug report #797645,
regarding ejabberd 14.07: broken ldap queries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
797645: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797645
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ejabberd
Version: 14.07-4+deb8u2
Tags: upstream, patch

Hello,

search for anything in mod_vcard_ldap results in the ldap modules
crashing, excerpt from logs:
...
2015-12-30 15:13:07 =CRASH REPORT====
  crasher:
      initial call: eldap:init/1
          pid: <0.409.0>
              registered_name: 'eldap_#Ref<0.0.0.11189>'
                  exception exit:
                  
{{{badmatch,{error,{asn1,{function_clause,[{'ELDAPv3',enc_SubstringFilter_substrings_components,[{'SubstringFilter_substrings',
...

It looks like ejabberd is unable to build proper ldap search and
chokes on the results.

In upstream, it is recorded at
https://support.process-one.net/browse/EJAB-1715

This also looks related to #797645

Could you please consider the patch below (sorry - might not be
wihtespace clean)?

Bye,

Joerg

diff --git a/src/ELDAPv3.erl b/src/ELDAPv3.erl
index 4945731..c66fa97 100644
--- a/src/ELDAPv3.erl
+++ b/src/ELDAPv3.erl
@@ -1765,6 +1765,10 @@ encode_tags(TagIn, BytesSoFar, LenSoFar).
       {EncBytes,EncLen} = 
'enc_SubstringFilter_substrings_components'(Val,[],0),
    encode_tags(TagIn, EncBytes, EncLen).
 
+'enc_SubstringFilter_substrings_components'({'SubstringFilter_substrings', L}, 
AccBytes, AccLen)
+   when is_list(L) ->
+   'enc_SubstringFilter_substrings_components'(L, AccBytes, AccLen);
+
 'enc_SubstringFilter_substrings_components'([], AccBytes, AccLen) -> 
    {lists:reverse(AccBytes),AccLen};
 

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ejabberd
Source-Version: 14.07-4+deb8u3

We believe that the bug you reported is fixed in the latest version of
ejabberd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philipp Huebner <[email protected]> (supplier of updated ejabberd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 01 Sep 2015 14:57:47 +0200
Source: ejabberd
Binary: ejabberd
Architecture: source amd64
Version: 14.07-4+deb8u3
Distribution: jessie
Urgency: medium
Maintainer: Konstantin Khomoutov <[email protected]>
Changed-By: Philipp Huebner <[email protected]>
Description:
 ejabberd   - distributed, fault-tolerant Jabber/XMPP server written in Erlang
Closes: 797645
Changes:
 ejabberd (14.07-4+deb8u3) jessie; urgency=medium
 .
   * Add patch to fix broken ldap queries (Closes: #797645)
Checksums-Sha1:
 2eb68502597afd6617d7337eba55c01ec39f33a2 2433 ejabberd_14.07-4+deb8u3.dsc
 d1ad9b17dcc4e9a66c3e499a585282791660f0ae 49704 
ejabberd_14.07-4+deb8u3.debian.tar.xz
 ed67b18e29985556453d6fcc045447418ab1559c 4148144 
ejabberd_14.07-4+deb8u3_amd64.deb
Checksums-Sha256:
 fb46d91fee2a636b47ed2e95b6a4c7eb41eb18c9d946815c934fad5790d895ff 2433 
ejabberd_14.07-4+deb8u3.dsc
 3590c8dc23c18f0d7021454fdb7dd10d9743b9193ed127942c3f4c1f2c05c809 49704 
ejabberd_14.07-4+deb8u3.debian.tar.xz
 8a6515524a86b5a67ea2895dec198f2df4bcd8fe32fa1a78ff1a5196275f0f48 4148144 
ejabberd_14.07-4+deb8u3_amd64.deb
Files:
 edbcffb39fa68fdf46467e5546c7d85d 2433 net optional ejabberd_14.07-4+deb8u3.dsc
 b42a59901d915da0970b04bf17883d1c 49704 net optional 
ejabberd_14.07-4+deb8u3.debian.tar.xz
 eaf4e281cd99e898b633bb13f37f7105 4148144 net optional 
ejabberd_14.07-4+deb8u3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWhuAWAAoJEOXKjEkl5CBfaKMQAKL5AYDtyGnAydg7c75BDTCN
Gf4G0ruZSJW/7+PLkTNgNxiUFPwWEb4zXGV14m/Slj0Bx+5GZkYwjy4p2vJEhGzg
YW4gVtwItJjB5UNPeYg78NiTTztsHcunU5l1pMgXGDASiF8mN7i827VQ1KK3Ctdi
5kWeqcV/E4UzlF0KqWdM1oo+BQxVHJf2aocnWno4qHKV39xh4l98O187AzK/oAuD
m5ygaG6DFDos7DQGSLbtI8fXHBPCwx8qpQGyo7Raz/OXWha0WQgqg0kIKZQBvVkD
xYeM2dyKxLy4PTJtQabWOqOsaZfb7AcPmjeGXBOZDUv1QiRXMaOx6xdAmca1xUHb
AP7APBsPvvQm4sidh9825M8WssGpy5ZkSmz1MPPqNKzoC93nc6SgaV/gpw/jDt2h
NAz3BVWpzEf63X0NeADJv+ABOwZwKuFg/LEmBfzZn1WnYTTS/uR5bq+6irfpHqnK
G3+t6YQO7phvGffgSC9+wR/OYqpv6Nod8lUZ/3okJytyw30Gg/1H2faH3i/cUlXG
3UK1BCQj/v7SnsVlnEtpY2w3NbS4kkh73uq0Dqig3HUD3JGl865JEF+Xcq1oaaZz
k+iTfFY6pAHFuXBge8Z0W8VGyNPzYMp0Y8XswJdY+IhlmJ1Np+dwqbLVF7vBmuBQ
t+00TW9/zUNI4oyC8aTb
=mxpU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to