[ejabberd] RES: RES: RES: RES: RES: RES: RES: RES: mod_vcard_ldap

Marcio Luciano Donada mdonada at auroraalimentos.com.br
Thu Nov 17 14:51:46 MSK 2016

I honestly believe he is not seeing the active directory. We use Pandion as a client and when I add the information (manually) my contact can see them. My question is, even if I'm using MySQL for certain operations, should not I still be querying in AD? Note below, that mod_vcard_ldap has gone up normally.

Supervisor ejabberd_sup started mod_vcard_ldap:start_link(<<"auroraalimentos.com.br">>, [{search,true},{matches,infinity},{ldap_vcard_map,[{<<"NICKNAME">>,[{<<"%u">>,[]}]},{<<"FN">>,[{...}]},...]},...]) at pid <0.433.0>

Márcio Luciano Donada
Analista  DBA/Suporte
Depto de TI – Chapecó(SC)
Tel.: (49) 33213262
VOIP: 66 16 3262
Aurora Alimentos
Cooperativa Central Aurora Alimentos

De: ejabberd [mailto:ejabberd-bounces at jabber.ru] Em nome de James Tait
Enviada em: quarta-feira, 16 de novembro de 2016 23:05
Para: ejabberd at jabber.ru
Assunto: Re: [ejabberd] RES: RES: RES: RES: RES: RES: RES: mod_vcard_ldap

On 16/11/16 20:54, Marcio Luciano Donada wrote:

What is wrong on the line below, see the log (debug)



      "NICKNAME": {"%u", []}

Looks like you have a comma where there should be a colon above.

      "GIVEN": {"%s": ["givenName"]}

      "FAMILY": {"%s": ["sn"]}

      "TEL": {"%s": ["telephoneNumber"]}

2016-11-16 18:54:21.543 [error] <0.62.0>@gen_mod:validate_opts:327 ignoring invalid value '[{<<"NICKNAME">>,[{<<"%u">>,<<>>},{[],<<>>}]},{<<"GIVEN">>,[{<<"%s">>,[<<"givenName">>]}]},

And so note the difference between NICKNAME and GIVEN above.

{<<"FAMILY">>,[{<<"%s">>,[<<"sn">>]}]},{<<"TEL">>,[{<<"%s">>,[<<"telephoneNumber">>]}]}]' for option 'ldap_vcard_map' of module 'mod_vcard_ldap'

2016-11-16 18:54:21.553 [debug] <0.340.0> Supervisor ejabberd_sup started mod_vcard_ldap:start_link(<<"auroraalimentos.com.br">>, [{ldap_search_fields,[{<<"User">>,<<"%u">>},{<<"Name">>,<<"givenName">>},{<<"Family Name">>,<<"sn">>},...]},...]) at pid <0.433.0>




James Tait, BSc                        |    xmpp:jayteeuk at wyrddreams.org

Programmer and Free Software advocate  |        Tel: +44 (0)870 490 2407



Aviso: Esta mensagem (incluindo qualquer anexo) e os arquivos nela contidos é confidencial e legalmente protegida, somente podendo ser usada pelo indivíduo ou entidade a quem foi endereçada. Caso você a tenha recebido por engano, deverá devolvê-la ao remetente e, posteriormente, apagá-la, pois, a disseminação, encaminhamento, uso, impressão ou cópia do conteúdo desta mensagem são expressamente proibidos.
Warning: This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20161117/ed57dc4d/attachment.html>

More information about the ejabberd mailing list