Presence issues with LDAP and shared groups
Description
Environment
Activity

Daryl Herzmann February 1, 2010 at 3:04 AM
reopening to fix versions, my bad

Daryl Herzmann June 25, 2009 at 5:39 AM
Committed 1 line patch with revision 11087. Should appear in next release. thanks

Dan Dan June 25, 2009 at 2:09 AM
Can you post the compiled Roster.class with this fix in it?

Leo Jääskeläinen March 11, 2009 at 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 {

Former user January 21, 2009 at 6:00 AM
Just to add that this would be a very worthwhile fix for us as well for our deployment.
Details
Details
Assignee

Reporter

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