mod_vcard_ldap is dumb

Greetings All.

How do I setup mod_vcard_ldap? I is not mentioned in the guide.html file nor I could find anything useful here. In ejabberd.conf I've got such a line

  {mod_vcard_ldap, [{host, "jud.asdf.pl"}]},

and when i try to *search* for user zxcv in jud.asdf.pl

=ERROR REPORT==== 6-May-2005::01:03:45 ===
E(<0.16883.0>:mod_vcard_ldap:53): {undef,
                                      [{ejabberd_auth,
                                           is_user_exists,
                                           ["zxcv"]},
                                       {mod_vcard_ldap,
                                           '-search/1-lc^0/1-0-',
                                           2},
                                       {mod_vcard_ldap,search_result,3},
                                       {mod_vcard_ldap,do_route,3},
                                       {mod_vcard_ldap,loop,1}]}

while zxcv is one of users in the directory. LDAP server works rather fine. I think so because other applications (eg. samba) do not complain at all and work correctly.

By the way when I try to get "User Info" (I use Psi) of a specific user everything works just as it should.

Have a nice day.

it's a bug, already fixed in svn

As previously mentioned in this russian thread (no, I don't understand russian, but an online translator like the one at Altavista.com can help), it's a bug in ejabberd 0.9 that was fixed in SVN revision 329 (26/April/2005)

i need new glasses

I've found that thread but I haven't noticed the svn in the subject. By the way are there any downloadable daily snapshot tarballs or a web interface to the archive? I am not very keen on installing svn.

A web interface is

A web interface is planned.

--
sander

Ldap - vcard

With version 0.9.8 I have a similar problem.

{mod_vcard_ldap, [{host, "ldap.abcd.com"}]},

throws the following error:

=ERROR REPORT==== 18-Aug-2005::02:51:01 ===
E(<0.39.0>:gen_mod:46): {{badmatch,"ldap.abcd.com"},
[{mod_vcard_ldap,start,2},
{gen_mod,start_module,3},
{lists,foreach,2},
{ejabberd_app,start,2},
{application_master,start_it_old,4}]}

Any ideas ???

Thanks in advance

Syndicate content