#1190 mod_storage_ldap: only own ldap group shown

Reporter Markus
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Component-Community
  • Priority-Medium
  • Type-Defect
  • Status-New
  1. Markus on

    What steps will reproduce the problem? 1. Setup two LDAP groups (each working as source for mod_auth_ldap2 and mod_storage_ldap) in your LDAP server (e.g. DN="cn=xmpp-group1,ou=xmpp-groups" and DN="cn=xmpp-group2,ou=xmpp-groups" ) 2. Create new subgroups with arbitrary values for the "name" parameter referencing those LDAP groups via "cn" (e.g. groups = { basedn = 'ou=xmpp-groups,dc=example,dc=com', memberfield = 'memberUid', namefield = 'cn', { name = 'Group1', cn = 'xmpp-group1', admin = false, }, { name = 'Group2', cn = 'xmpp-group2', admin = false, }, }, ... ) 3. What is the expected output? Having both groups in Empathy's contact list. What do you see instead? Only the one group my user is a member of. What version of the product are you using? On what operating system? 0.10.2 on Ubuntu 16.04 Please provide any additional information below. Haven't checked if there is any group visible if I remove my user from every LDAP group.

  2. Markus on

    Ok, I found the reason for this "feature" - because apparently this behavior is intended. In the function preparing the roster there is an LDAP request with its filter attribute requiring the user to be part of the group. Setting this value to an asterisk shows every configured group.

  3. Zash on

    Changes
    • tags Component-Community

New comment

Not published. Used for spam prevention and optional update notifications.