You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Chris Clemson <Ch...@GoGreenIT.net> on 2021/01/12 21:33:52 UTC

All LDAP Groups of a user are showing up OpenMeetings, whether they are used or not

Hi everyone,

I have configured LDAP authentication, which works, and I get a list of
groups that my user is a member of.

However, each LDAP group becomes a tab in "Private Rooms", even though I
have only configured one room to be allocated to a group (and all the
other tabs are completely blank, obviously).

How do I hide the unused ones?

As I create more and more groups in the LDAP server,, I will get more
and more tabs in OpenMeetings, which will become unmanageable!


Thanks,


Chris



Re: All LDAP Groups of a user are showing up OpenMeetings, whether they are used or not

Posted by Chris Clemson <Ch...@GoGreenIT.net>.
Oops, sorry , i thought you were asking someone else to add me (CC) to a
list :)
I will test later this week.

Chris

> Don't forget the CC :)))
> You can test using
> SNAPSHOT: https://ci-builds.apache.org/job/OpenMeetings/job/openmeetings/
> <https://ci-builds.apache.org/job/OpenMeetings/job/openmeetings/>    #233+
>
> On Wed, 27 Jan 2021 at 17:01, Chris Clemson
> <Chris.Clemson@gogreenit.net <ma...@gogreenit.net>> wrote:
>
>     Awesome, thanks Maxim , I look forward to testing it!
>>
>>
>>     On Wed, 13 Jan 2021 at 22:21, Chris Clemson
>>     <Chris.Clemson@gogreenit.net
>>     <ma...@gogreenit.net>> wrote:
>>
>>         Hi Maxim,
>>
>>
>>>>             Hello Chris,
>>>>
>>>>             I guess you can try to set
>>>>             ldap_group_mode=NONE
>>>>             https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L78
>>>>             <https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L78>
>>>
>>>             If I do that, then it says "group associations will be
>>>             ignored", which is not what I want.
>>>
>>>             I want to control group membership with LDAP, but not
>>>             show up every group the user is a member of, as most of
>>>             the groups in LDAP have nothing to do with OpenMeetings.
>>>
>>>
>>>         So you what user A be the member of let say 20 groups
>>>         but this should not be reflected in UI?
>>
>>         Yes, because the LDAP search returns all group membership for
>>         the user, and I want to use 1 LDAP server for all my other
>>         LDAP-enabled services.
>>
>>>
>>>         What will this membership be used for?
>>         As far as I understand it, group membership can only be used
>>         for private rooms, am I correct? That is all I wanted to use
>>         the function for.
>>>
>>>         right now user groups are displayed at:
>>>         1) Private rooms (there can be private rooms for each group)
>>>         2) Recordings
>>>         3) Room Files
>>>
>>>         I guess empty tab can be hidden in "Private rooms" area, is
>>>         this what you want?
>>
>>         Yes, that may be the simplest solution.
>>
>>
>>     https://issues.apache.org/jira/browse/OPENMEETINGS-2563
>>     <https://issues.apache.org/jira/browse/OPENMEETINGS-2563>
>>     please don't forget to add CC to the user@ list :)
>>      
>>
>>         Thanks,
>>
>>
>>         Chris
>>
>>
>>
>>     -- 
>>     Best regards,
>>     Maxim
>
>
>
>
> -- 
> Best regards,
> Maxim



Re: All LDAP Groups of a user are showing up OpenMeetings, whether they are used or not

Posted by Maxim Solodovnik <so...@gmail.com>.
Don't forget the CC :)))
You can test using SNAPSHOT:
https://ci-builds.apache.org/job/OpenMeetings/job/openmeetings/    #233+

On Wed, 27 Jan 2021 at 17:01, Chris Clemson <Ch...@gogreenit.net>
wrote:

> Awesome, thanks Maxim , I look forward to testing it!
>
>
>
> On Wed, 13 Jan 2021 at 22:21, Chris Clemson <Ch...@gogreenit.net>
> wrote:
>
>> Hi Maxim,
>>
>>
>> Hello Chris,
>>>
>>> I guess you can try to set
>>> ldap_group_mode=NONE
>>>
>>> https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L78
>>>
>>> If I do that, then it says "group associations will be ignored", which
>>> is not what I want.
>>>
>>> I want to control group membership with LDAP, but not show up every
>>> group the user is a member of, as most of the groups in LDAP have nothing
>>> to do with OpenMeetings.
>>>
>>
>> So you what user A be the member of let say 20 groups
>> but this should not be reflected in UI?
>>
>> Yes, because the LDAP search returns all group membership for the user,
>> and I want to use 1 LDAP server for all my other LDAP-enabled services.
>>
>>
>> What will this membership be used for?
>>
>> As far as I understand it, group membership can only be used for private
>> rooms, am I correct? That is all I wanted to use the function for.
>>
>>
>> right now user groups are displayed at:
>> 1) Private rooms (there can be private rooms for each group)
>> 2) Recordings
>> 3) Room Files
>>
>> I guess empty tab can be hidden in "Private rooms" area, is this what you
>> want?
>>
>> Yes, that may be the simplest solution.
>>
>
> https://issues.apache.org/jira/browse/OPENMEETINGS-2563
> please don't forget to add CC to the user@ list :)
>
>
>> Thanks,
>>
>>
>> Chris
>>
>
>
> --
> Best regards,
> Maxim
>
>
>

-- 
Best regards,
Maxim

Re: All LDAP Groups of a user are showing up OpenMeetings, whether they are used or not

Posted by Maxim Solodovnik <so...@gmail.com>.
On Wed, 13 Jan 2021 at 22:21, Chris Clemson <Ch...@gogreenit.net>
wrote:

> Hi Maxim,
>
>
> Hello Chris,
>>
>> I guess you can try to set
>> ldap_group_mode=NONE
>>
>> https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L78
>>
>> If I do that, then it says "group associations will be ignored", which is
>> not what I want.
>>
>> I want to control group membership with LDAP, but not show up every group
>> the user is a member of, as most of the groups in LDAP have nothing to do
>> with OpenMeetings.
>>
>
> So you what user A be the member of let say 20 groups
> but this should not be reflected in UI?
>
> Yes, because the LDAP search returns all group membership for the user,
> and I want to use 1 LDAP server for all my other LDAP-enabled services.
>
>
> What will this membership be used for?
>
> As far as I understand it, group membership can only be used for private
> rooms, am I correct? That is all I wanted to use the function for.
>
>
> right now user groups are displayed at:
> 1) Private rooms (there can be private rooms for each group)
> 2) Recordings
> 3) Room Files
>
> I guess empty tab can be hidden in "Private rooms" area, is this what you
> want?
>
> Yes, that may be the simplest solution.
>

https://issues.apache.org/jira/browse/OPENMEETINGS-2563
please don't forget to add CC to the user@ list :)


> Thanks,
>
>
> Chris
>


-- 
Best regards,
Maxim

Re: All LDAP Groups of a user are showing up OpenMeetings, whether they are used or not

Posted by Maxim Solodovnik <so...@gmail.com>.
On Wed, 13 Jan 2021 at 20:53, Chris Clemson <Ch...@gogreenit.net>
wrote:

> Hi Maxim,
>
> Thanks for the reply.
>
> Hello Chris,
>
> I guess you can try to set
> ldap_group_mode=NONE
>
> https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L78
>
> If I do that, then it says "group associations will be ignored", which is
> not what I want.
>
> I want to control group membership with LDAP, but not show up every group
> the user is a member of, as most of the groups in LDAP have nothing to do
> with OpenMeetings.
>

So you what user A be the member of let say 20 groups
but this should not be reflected in UI?

What will this membership be used for?

right now user groups are displayed at:
1) Private rooms (there can be private rooms for each group)
2) Recordings
3) Room Files

I guess empty tab can be hidden in "Private rooms" area, is this what you
want?


> For example, if I had tried to deploy this in the previous place I worked,
> each use would have hundreds of tabs, and I would have had to give up and
> just use local users instead, which would have been a non-starter!
>
> Chris
>


-- 
Best regards,
Maxim

Re: All LDAP Groups of a user are showing up OpenMeetings, whether they are used or not

Posted by Chris Clemson <Ch...@GoGreenIT.net>.
Hi Maxim,

Thanks for the reply.
> Hello Chris,
>
> I guess you can try to set
> ldap_group_mode=NONE
> https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L78
> <https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L78>

If I do that, then it says "group associations will be ignored", which
is not what I want.

I want to control group membership with LDAP, but not show up every
group the user is a member of, as most of the groups in LDAP have
nothing to do with OpenMeetings.

For example, if I had tried to deploy this in the previous place I
worked, each use would have hundreds of tabs, and I would have had to
give up and just use local users instead, which would have been a
non-starter!

Chris


Re: All LDAP Groups of a user are showing up OpenMeetings, whether they are used or not

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Chris,

I guess you can try to set
ldap_group_mode=NONE
https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L78

and maybe comment this line:
ldap_group_attr=memberOf
https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/webapp/data/conf/om_ldap.cfg#L97


On Wed, 13 Jan 2021 at 04:34, Chris Clemson <Ch...@gogreenit.net>
wrote:

> Hi everyone,
>
> I have configured LDAP authentication, which works, and I get a list of
> groups that my user is a member of.
>
> However, each LDAP group becomes a tab in "Private Rooms", even though I
> have only configured one room to be allocated to a group (and all the
> other tabs are completely blank, obviously).
>
> How do I hide the unused ones?
>
> As I create more and more groups in the LDAP server,, I will get more
> and more tabs in OpenMeetings, which will become unmanageable!
>
>
> Thanks,
>
>
> Chris
>
>
>

-- 
Best regards,
Maxim