I’‘m having trouble to find a decent guide, how to retrieve User’'s information from LDAP (MS Active directory) and populate it into vCard.
I’’’'ve searched this forum for few hours, found some interesting posts, and a Java library that I must put in my /lib directory. Although I cant find a clear information how to use it.
Can you please help me with whatever information you have on this case.
Exodus seems to create a different vcard than PSI… I downloaded the source code and in the comments it give a create way to find out what fields your client is using…
Basically…
1: Connect a client to a non-ldap server… and Publish a fully fill-out vcard…
2: Open a sql debugger, connect to the jive database, and use this line:
SELECT value FROM jivevcard WHERE username=’‘some_user’’
3: The result is a string of xml that can be parsed out to see what fields your client is using… You can then stuff those fields with any available fields from your LDAP directory…
Here is the one I use for Exodus:
Methods
Methods Machine Tools, , , ,
]]>
I think the only thing not working is my email address… Exodus had something else going on there… I have not played with it in a few days…
(este código foi postado pelo cbas[/b] no url=http://forums.pandion.be/viewtopic.php?t=956&highlight=vcardFórum do Pandion[/url])
(this code was posted by cbas[/b] in url=http://forums.pandion.be/viewtopic.php?t=956&highlight=vcardPandion Forum[/url])
E url=http://msdn.microsoft.com/library/en-us/adschema/adschema/attributes_all.aspaqui[/url] você pode ver a estrutura do AD com a descrição e nome dos campos para LDAP.
dica: você pode fazer uma busca por “ldap-display-name active directory schema campo[/b]” (sem aspas). Onde “campo” é a descrição do campo que você está procurando: ex: ldap-display-name active directory schema cell phone
And url=http://msdn.microsoft.com/library/en-us/adschema/adschema/attributes_all.asphere[/url] you can see the MS AD-Schema with description and LDAP field names.
tip: you can search for “ldap-display-name active directory schema field[/b]” (without ") where “field” is the field description: e.g. ldap-display-name active directory schema cell phone