JMB
October 25, 2006, 6:21pm
1
I’'ve copied other configs from the forum that have been submitted as “working” examples. However, I cannot get them to work with my implementation. I have been unsuccessful in finding a document which outlines the SPARK CLIENT to LDAP field mappings.
Here is my config:
<!
true> true <![CDATA[
]]> <!-- VCARD MAPPINGS
<![CDATA[
<vCard xmlns=’‘vcard-temp’’>
Any assistance is greatly appreciated. I’'m willing to write my own mappings if I could find the document that outlines all of the SPARK fields to LDAP Fields available.
JMB
Jay
October 25, 2006, 6:25pm
2
Do you see anything interesting in the logs after starting up?
Here is mine, I’'m also using AD and Wildfire 3.1.0.
Note the difference in syntax, I think thats your problem.
Message was edited by: keithconger
JMB
October 25, 2006, 6:38pm
4
Here is the only thing I seen in the log. This is a snip of the debug log:
2006.10.25 14:36:21 Trying to find a user’'s DN based on their username. sAMAccountName: eioadmin, Base DN: DC=eio,DC=local…
2006.10.25 14:36:21 Creating a DirContext in LdapManager.getContext()…
2006.10.25 14:36:21 Created hashtable with context values, attempting to create context…
2006.10.25 14:36:21 … context created successfully, returning.
2006.10.25 14:36:21 Starting LDAP search…
2006.10.25 14:36:21 … search finished
2006.10.25 14:36:21 Creating a DirContext in LdapManager.getContext()…
2006.10.25 14:36:21 Created hashtable with context values, attempting to create context…
2006.10.25 14:36:21 … context created successfully, returning.
2006.10.25 14:36:21 No ldap value found for attribute ‘‘0’’
2006.10.25 14:36:21 Ldap attribute ‘‘0’’=>’’’’
2006.10.25 14:36:21 No ldap value found for attribute ‘’’’
2006.10.25 14:36:21 Ldap attribute ‘’’’=>’’’’
2006.10.25 14:36:21 Getting mapped vcard for eioadmin
2006.10.25 14:36:21 Returning vcard
JMB
October 25, 2006, 6:55pm
5
Enabling this configuation returns local database information rather than LDAP.
Not quite sure why. But it certainly does.
Ok here is my whole config:
jdbc:mysql://DATABASE :3306/wildfireUSERNAME
PASSWORD
5
15
1.0
DOMAINCONTROLLER
3268
dc=domain;dc=com
username@domain.com
PASSWORD
true
false
false
false
sAMAccountName
(objectClass=organizationalPerson)
<![CDATA[
]]>
cn
mail
cn
member
description
false
(objectClass=group)
org.jivesoftware.wildfire.ldap.LdapVCardProvider
org.jivesoftware.wildfire.ldap.LdapUserProvider
org.jivesoftware.wildfire.ldap.LdapAuthProvider
org.jivesoftware.wildfire.ldap.LdapGroupProvider
true
LG1
October 26, 2006, 9:03pm
7
Hi,
you may want to read http://www.jivesoftware.org/community/thread.jspa?threadID=22386 and let Wildfire 3.1.0 setup the vCard mapping as it was improved a lot.
LG
JMB
October 30, 2006, 3:38pm
8
Running the LDAP Wizard worked for me. Thanks for the info.
JMB
Bill1
October 30, 2006, 4:56pm
9
There are some mappings I edited by hand after the fact, if you are interested:
Our choice, but could be just the first name using replace the with this
under