[ejabberd] mod_vcard_ldap crashes

Markus "Shorty" Uckelmann shorty at koeln.de
Wed Mar 11 00:20:53 MSK 2015

Hi all,

I'm trying to get mod_vcard_ldap running in 15.02 with a Win$ AD-Server. 
So far I am able to authenticate via LDAP. But adding the following 
vcard configuration gives me a "CRASH REPORT" and the server is running 
but dead:

   #mod_vcard: []
           "NICKNAME": {"%u", []}
           "FN": {"%s", ["displayName"]}
           "EMAIL": {"%s", ["mail"]}
           "User": "%u"
           "Name": "givenName"
           "Email": "mail"
           "Full Name": "FN"
           "Nickname": "NICKNAME"
           "Email": "EMAIL"

And the logged error is(from error.log):

2015-03-10 22:10:46.175 [error] <0.331.0> CRASH REPORT Process <0.331.0> 
with 0 neighbours exited with reason: {undefined_macro,''} in 
application_master:init/4 line 133

This is the part from crash.log:

2015-03-10 22:10:46 =CRASH REPORT====
     initial call: application_master:init/4
     pid: <0.331.0>
     registered_name: []
     exception exit: 
     ancestors: [<0.330.0>]
     messages: []
     links: [<0.330.0>,<0.332.0>,<0.302.0>]
     dictionary: []
     trap_exit: true
     status: running
     heap_size: 610
     stack_size: 27
     reductions: 129

There is no crashdump file.

Uncommenting the above configration lines make ejabberd work again after 
a restart.

AFAIK I sticked to the documentation at [1]. Am I missing something? Any 
help would be much appreciated.

[1] http://docs.ejabberd.im/admin/guide

Cheers, Shorty

More information about the ejabberd mailing list