Tomasz Sterna [mailto:[email protected]] wrote:
> Dnia 2012-05-31, czw o godzinie 23:02 +0000, Matthew Koch pisze:
> > We're making the switch from ejabberd for no reason other than I know
> > C/C++, but not so much erlang.
> 
> How is your experience so far? :-)
> 

Very good, thank you. We have about 65 happy users.

I sent off an ugly HOWTO to someone who had write access to the wiki (offlist), 
but haven't checked if it's been posted. Let me know if you'd rather I send it 
to the list.

Been studying your source tree for adding an LDAP -> vCard map to the config of 
storage_ldapvcard. I've run into a couple of urgent IT issues (as is ALWAYS the 
case) and had to set it aside last week. 

Anyhow, I was thinking of using something like this for the config:

<storage>
  <ldapvcard>
    <vcard-map>
      <map attr="[ldapAttribute]" property="[vcardProperty]" />
      <map attr="[ldapAttribute]" property="[vcardProperty]" />
     </vcard-map>
   ....
  </ldapvcard>
</storage>

If <vcard-map> doesn't exist, it will use the existing hard-coded map. This 
seems to be following the pattern, but I didn't see a DTD for the config, so 
I'm just guessing. Feel free to change the above idea around

I'm still reading the config API to see if I can enumerate like that, but it 
should be pretty easy to make it work.

In the meantime, I hacked up the mapping for Active Directory to produce a 
mostly usable vCard, but it still isn't pulling everything correctly. I think 
it's more of a client issue, though.

Secondly, I pulled the init scripts from the Debian/sid package and modified 
them a little (I pasted them into the HOWTO I sent off). They might like to 
have those upstream.

Thank you,

- Matthew




Reply via email to