We're updating the issue view to help you get more done. 

Presence issues with LDAP and shared groups

Description

Presence updates do not appear to be working correctly with shared groups and LDAP enabled.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Dave Koelmeyer
January 21, 2009, 6:00 AM

Just to add that this would be a very worthwhile fix for us as well for our deployment.

Leo Jääskeläinen
March 11, 2009, 11:58 AM

Here's a corrected patch that works for us (Openfire 3.6.3):

diff -up openfire_src/src_orig/java/org/jivesoftware/openfire/roster/Roster.java openfire_src/src/java/org/jivesoftware/openfire/roster/Roster.java
— openfire_src/src_orig/java/org/jivesoftware/openfire/roster/Roster.java 2009-03-11 08:52:59.000000000 +0200
+++ openfire_src/src/java/org/jivesoftware/openfire/roster/Roster.java 2009-03-11 08:52:50.000000000 +0200
@@ -143,7 +143,7 @@ public class Roster implements Cacheable
}
// Set subscription type to BOTH if the roster user belongs to a shared group
// that is mutually visible with a shared group of the new roster item

  • if (rosterManager.hasMutualVisibility(username, userGroups, jid, itemGroups)) {
    + if (rosterManager.hasMutualVisibility(username, sharedGroups, jid, itemGroups)) {
    item.setSubStatus(RosterItem.SUB_BOTH);
    }
    else {

Dan Dan
June 25, 2009, 2:09 AM

Can you post the compiled Roster.class with this fix in it?

Daryl Herzmann
June 25, 2009, 5:39 AM

Committed 1 line patch with revision 11087. Should appear in next release. thanks

Daryl Herzmann
February 1, 2010, 3:04 AM

reopening to fix versions, my bad

Assignee

Gaston Dombiak

Reporter

MattM

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure