powered by Jive Software

Vcard LDAP jpegPhoto

I I’‘m trying to load the pictures from the LDAP database that I have and I can’'t seem to find any information on the “photo” properties of the vCards, here is a sample of my wildfire.xml

here is the trace log (of wich I don’'t understand anything at all)

Besides that I’'ve been able to map almost everything from the LDAP database

java.lang.ClassCastException: [B

at org.jivesoftware.wildfire.ldap.LdapVCardProvider.getLdapAttributes(LdapVCardPro vider.java:147)

at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.ja va:173)

at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:1 80)

at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:173)

at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:1 06)

at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48)

at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:256)

at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:79)

at org.jivesoftware.wildfire.PacketRouter.route(PacketRouter.java:65)

at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:395)

at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.j ava:50)

at org.jivesoftware.wildfire.net.SocketReader.readStream(SocketReader.java:263)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:119)

at java.lang.Thread.run(Unknown Source)

Erreur interne du serveur

java.lang.NullPointerException

at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvid er.java:272)

at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.treeWalk(LdapVCardProvid er.java:278)

at org.jivesoftware.wildfire.ldap.LdapVCardProvider$VCard.getVCard(LdapVCardProvid er.java:259)

at org.jivesoftware.wildfire.ldap.LdapVCardProvider.loadVCard(LdapVCardProvider.ja va:175)

at org.jivesoftware.wildfire.vcard.VCardManager.getOrLoadVCard(VCardManager.java:1 80)

at org.jivesoftware.wildfire.vcard.VCardManager.getVCard(VCardManager.java:173)

at org.jivesoftware.wildfire.handler.IQvCardHandler.handleIQ(IQvCardHandler.java:1 06)

at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48)

at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:256)

at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:79)

at org.jivesoftware.wildfire.PacketRouter.route(PacketRouter.java:65)

at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:395)

at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.j ava:50)

at org.jivesoftware.wildfire.net.SocketReader.readStream(SocketReader.java:263)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:119)

at java.lang.Thread.run(Unknown Source)

dirty hack to fix it here: http://www.jivesoftware.org/community/thread.jspa?messageID=112893

I’'ve also found the same error trying to put pictures in ldap, re: http://www.jivesoftware.org/community/thread.jspa?threadID=16415

I’'ve also found the same error trying to put pictures

in ldap, re:

http://www.jivesoftware.org/community/thread.jspa?thre

adID=16415

I found an application that will upload jpegs to the any of the photo fields in active directory.

http://www.ad-pictures.com/

unfortunately this is the only app/script that I have found that allows you to publish photos to AD. But I am still looking…

jason