[ejabberd] RES: RES: mod_vcard_ldap

flo2015+ejabberd at gramaton.org flo2015+ejabberd at gramaton.org
Mon Nov 7 21:58:32 MSK 2016


Le 07/11/2016 à 17:05, Marcio Luciano Donada a écrit :
> 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:

Hmmm, all this looks fine.
What makes you think that mod_vcard does not work?
Using gajim or pidgin, can't you see vcard info for a given contact?

Can you try this command on the server:

ldapsearch -LLL -x -h server1 \
 -D usuario at auroraalimentos.com.br \
 -b OU=AURORA,DC=auroraalimentos,DC=com,DC=br \
 "(&(objectCategory=person)(objectClass=user)(sAMAccountName=*))" \
 givenName displayName

-- 
Florent


More information about the ejabberd mailing list