[ejabberd] RES: RES: mod_vcard_ldap

Marcio Luciano Donada mdonada at auroraalimentos.com.br
Mon Nov 7 19:05:18 MSK 2016


>Weird. I have quite the same config and it works well for me. My LDAP backend is openldap though but I don't think it's relevant.
>What are your other ldap related parameters?

>    grep ldap_ ejabberd.yml

Hi,
Tanks your message replay. The settings are those, remembering that I already authenticated AD members in ejabberd.

auth_method: ldap
ldap_servers: server1,server2,server3
ldap_encrypt: tls
ldap_port: 636
ldap_rootdn: "usuario at auroraalimentos.com.br"
ldap_password: "PASSWORD"
ldap_base: "OU=AURORA,DC=auroraalimentos,DC=com,DC=br"
ldap_uids: {"sAMAccountName": "%u"}
##ldap_uids: {"sAMAccountName"}
##ldap_filter: "(objectClass=person)"
ldap_filter: "(&(objectCategory=person)(objectClass=user))"
  mod_vcard_ldap:
    ldap_rootdn: "usuario at auroraalimentos.com.br"
    ldap_password: "PASSWORD"
    ldap_base: "OU=AURORA,DC=auroraalimentos,DC=com,DC=br"
    ldap_filter: "(&(objectCategory=person)(objectClass=user))"
    ldap_vcard_map:
    ldap_search_fields:
    ldap_search_reported:


__
Márcio Luciano Donada
________________________________

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.


More information about the ejabberd mailing list