ejabberd - Comments for "Vcard issues" https://www.ejabberd.im/node/3645 en After a lot of looking around https://www.ejabberd.im/node/3645#comment-54610 <p>After a lot of looking around i finally came up with these settings and they seem to work because in the log i can see it doing an LDAP lookup on the user and finding all the data but when it goes to display the vcard it seems like it's not matching up the fields.</p> <p>{mod_vcard_ldap,<br /> [<br /> {ldap_uids, [{"uid","%u"}]},<br /> {ldap_vcard_map,<br /> [<br /> {"NICKNAME", "%s", ["displayName"]},<br /> {"GIVEN", "%s", ["givenName"]},<br /> {"MIDDLE", "%s", ["initials"]},<br /> {"FAMILY", "%s", ["sn"]},<br /> {"FN", "%s", ["displayName"]},<br /> {"EMAIL", "%s", ["mail"]}<br /> ]},</p> <p> {ldap_search_fields,<br /> [<br /> {"User", "uid"},<br /> {"Name", "displayName"},<br /> {"Family Name", "sn"},<br /> {"Email", "mail"},<br /> {"Company", "company"},<br /> {"Department", "department"},<br /> {"Role", "title"},<br /> {"Description", "description"},<br /> {"Phone", "telephoneNumber"}]},</p> <p> {ldap_search_reported,<br /> [<br /> {"Full Name", "FN"},<br /> {"Nickname", "NICKNAME"},<br /> {"Email", "EMAIL"}<br /> ]}</p> <p> ]},<br /> ----------------------<br /> This is the debug log:</p> <p>=INFO REPORT==== 2009-08-31 12:28:06 ===<br /> D(&lt;0.384.0&gt;:eldap:636) : {searchRequest,<br /> {'SearchRequest',"dc=domain,dc=com",wholeSubtree,<br /> neverDerefAliases,0,0,false,<br /> {equalityMatch,<br /> {'AttributeValueAssertion',"uid","steve.tribe"}},<br /> ["displayName","givenName","initials","mail","sn",<br /> "uid"]}}</p> <p>=INFO REPORT==== 2009-08-31 12:28:07 ===<br /> D(&lt;0.384.0&gt;:eldap:697) : {searchResRef,<br /> ["ldaps://ForestDnsZones.caltrol.com/DC=ForestDnsZones,DC=domain,DC=com"]}</p> <p>=INFO REPORT==== 2009-08-31 12:28:07 ===<br /> D(&lt;0.384.0&gt;:eldap:697) : {searchResRef,<br /> ["ldaps://DomainDnsZones.caltrol.com/DC=DomainDnsZones,DC=domain,DC=com"]}</p> <p>=INFO REPORT==== 2009-08-31 12:28:07 ===<br /> D(&lt;0.384.0&gt;:eldap:697) : {searchResRef,<br /> ["ldaps://caltrol.com/CN=Configuration,DC=domain,DC=com"]}</p> <p>=INFO REPORT==== 2009-08-31 12:28:07 ===<br /> D(&lt;0.384.0&gt;:eldap:697) : {searchResDone,<br /> {'LDAPResult',success,[],[],asn1_NOVALUE}}</p> <p>------------<br /> Any ideas on what's going on?</p> <p>P.S. Why on earth are there weeks without someone posting something? Is this not the right forums?</p> Mon, 31 Aug 2009 19:37:37 +0000 PnoT comment 54610 at https://www.ejabberd.im