Re: LDAP config Manual, 1st draft - extension

2020-04-13 Thread Orm Finnendahl
y=co
> ldap_user_attr_town=l
> ldap_user_attr_phone=telephoneNumber
> # optional attribute for user picture
> #ldap_user_attr_picture=
> ldap_group_attr=memberOf
> 
> # optional, absolute URL will be used as user picture if 
> #ldap_user_attr_picture will be empty
> #ldap_user_picture_uri=picture_uri
> 
> # optional
> # the timezone has to match any timezone available in Java, otherwise the 
> timezone defined in the value of
> # the conf_key "default.timezone" in OpenMeetings "configurations" table
> #ldap_user_timezone=timezone
> 
> # Ldap ignore upper/lower case, convert all input to lower case
> ldap_use_lower_case=false
> 
> # Ldap import query, this query should retrieve all LDAP users
> ldap_import_query=(objectClass=inetOrgPerson)
> 
> 
> Von: Maxim Solodovnik [mailto:solomax...@gmail.com]
> Gesendet: Montag, 13. April 2020 05:53
> An: Openmeetings user-list 
> Betreff: Re: LDAP config Manual, 1st draft
> 
> Hello Orm,
> 
> On Mon, 13 Apr 2020 at 03:20, Orm Finnendahl 
> mailto:orm.finnend...@selma.hfmdk-frankfurt.de>>
>  wrote:
> Hi,
> 
>  I made a draft of a LDAP config howto and uploaded it here for
> review:
> 
> https://selma.hfmdk-frankfurt.de/howtos/OM-ldap-howto.html
> 
> I hope it's not too verbose, but since I had problems figuring out the
> ldap config in OM from the docs found online I tried to write up
> something in a way that even somebody like me with little ldap
> experience and knowledge would've understood without having to ask
> this mailing list and spend a lot of time trying to figure it out.
> 
> I already forked the OM github repo and can issue a pull request, but
> I'm unsure about the preferred format of the document (XML, MD,
> pdf?). Please let me know what you'd prefer. The original is in org
> format but I can provide any format.
> 
> I love PRs :)))
> The current version is here 
> https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/site/xdoc/LdapAndADS.xml
> Please create LdapAndADS.md in 
> https://github.com/apache/openmeetings/tree/master/openmeetings-server/src/site/markdown
> Fill free to re-use any part of original instructions :)
> We can discuss contents during PR review :))
> 
> 
> As I read about the manual draft for OM 5 on this mailing list, feel
> free to incorporate this in case it isn't already present or needs
> improvement. I'd be willing to do it myself if you find it useful and
> someone provides access for me to the current state.
> 
> User Manual is here 
> https://cwiki.apache.org/confluence/display/OPENMEETINGS/OpenMeetings+5+Manual
> Please tell me you Confluence ID and all grant you with permissions
> (not sure how those binary files can be edited :((( )
> 
> 
> --
> Orm
> 
> 
> --
> Best regards,
> Maxim


use case report: OM on Android Tablet

2020-04-12 Thread Orm Finnendahl
Hi,

 this is an information for a use case I came up with in the last days
that I want to share with you:

In order to increase the useability of the OM whiteboard, I added a
user account for an additional login with an Android tablet, intended
to be used as a pen driven input device for the whiteboard (it's much
more precise for drawing than using a mouse).

As the video windows of the online participants clutter the tablet
screen and it seems impossible to move the windows anywhere, I changed
the CSS using the "Stylish" add-on (on Android this only exists for
firefox) to hide all video windows in OM on the tablet. It works
really well: I now have an unobstructed view of the whiteboard on the
tablet and can draw everywhere. My laptop is used for the video
communication and everything else. I even think about removing the
left pane as well on the tablet to increase the useable whiteboard
area even more.

In case anyone is interested in the relevant CSS code let me know (via
this list) and I can share the code and a step by step implementation
HOWTO. It's quite easy.

--
Orm


LDAP config Manual, 1st draft

2020-04-12 Thread Orm Finnendahl
Hi,

 I made a draft of a LDAP config howto and uploaded it here for
review:

https://selma.hfmdk-frankfurt.de/howtos/OM-ldap-howto.html

I hope it's not too verbose, but since I had problems figuring out the
ldap config in OM from the docs found online I tried to write up
something in a way that even somebody like me with little ldap
experience and knowledge would've understood without having to ask
this mailing list and spend a lot of time trying to figure it out.

I already forked the OM github repo and can issue a pull request, but
I'm unsure about the preferred format of the document (XML, MD,
pdf?). Please let me know what you'd prefer. The original is in org
format but I can provide any format.

As I read about the manual draft for OM 5 on this mailing list, feel
free to incorporate this in case it isn't already present or needs
improvement. I'd be willing to do it myself if you find it useful and
someone provides access for me to the current state.

--
Orm


lt-cred-mech in config

2020-04-08 Thread Orm Finnendahl
Hi,

 is it possible to run openmeetings/kurento using the lt-cred-mech
instead of the rest api? I assume the relevant part is in

$OM_HOME/webapps/openmeetings/WEB-INF/classes/applicationContext.xml

We currently have:



What would we have to specify as p:turnMode to use the longterm
credential mechanism?

--
Orm



Re: inconsistencies between browsers/OSs

2020-04-04 Thread Orm Finnendahl
Hi,

Am Donnerstag, den 02. April 2020 um 21:23:16 Uhr (+0200) schrieb YUP:
> Hi, it could be a problem of UDP ports. Can you check whether UDP
> ports are open or close in your firewall?

For the turnserver we have this:

ACCEPT udp  --  anywhere anywhere udp 
spts:49152:65535 dpts:49152:65535
ACCEPT tcp  --  anywhere anywhere tcp dpt:3478
ACCEPT udp  --  anywhere anywhere udp dpt:3478
ACCEPT tcp  --  anywhere anywhere tcp dpt:5349
ACCEPT udp  --  anywhere anywhere udp dpt:5349

In our turnserver.conf the default min-port=49152 and max-port=65535
settings were commented out. I removed the comment signs and restarted
coturn. I'll report back if that changes anything.

If it doesn't work on connected users, sometimes it helps to retry a
couple of times (exiting the room and reentering). We also found out
that recent versions of firefox seem to work better. There seem to be
error messages in the browser console if it does't work. I will try to
track them down and report back.

In the meantime I'll follow Maxim's advice to install the last
snapshot. It's good to know that it works on other machines!

--
Orm


inconsistencies between browsers/OSs

2020-04-02 Thread Orm Finnendahl
Hi,

 finally our OM server is working with https behind the firewall and
NAT, ldap ist working too and we were able to succefully establish a
stable conference between two linux boxes running firefox with
audio/video (yey!).

om is really amazing work, thanks to everyone, who contributed!

Unfortunately we get varying success regarding audio/video with other
OS/browser combinations: On OSX it seems to work with firefox but with
Safari audio/video works locally, but the remote linux user is
invisible/inaudible for the OSX user. With other OSX users and on a
Windows/Firefox <-> Linux/Firefox combination, video and audio of the
other side isn't working on both machines, etc...

Is this a known issue? I searched the ML archives and the Web and
couldn't find relevant information. Are there any recommendations how
to troubleshoot the problems?

It seems quite inconsistent and I don't know yet whether it's a setup
problem on the user's/administrator's side. All participants of two
part conferences state that they see their own audio/video and see the
empty video frame of the other participant whitout hearing anything
although seeing the green button of the other participant flash.

We are using 5.0.0-M3, Revision b739f87

--
Orm


Re: Openmeetings Docker Image / Kurento / Turn / NAT

2020-04-01 Thread Orm Finnendahl
Hi,

 latest commit (M4) doesn't build on our machine.

Building stops here:

Step 33/38 : RUN cat /etc/issue && echo "OM server of type ${OM_TYPE} will 
be built" && apt-get update && apt-get install -y --no-install-recommends   
  apt-utils   && apt-get install -y --no-install-recommends 
software-properties-common gnupg2 dirmngr unzip wget 
ghostscript libgs-dev imagemagick sox sudo libreoffice 
openjdk-11-jre ffmpeg   && apt-get clean   && rm -rf /var/lib/apt/lists/*   
  && && wget 
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/lastSuccessfulBuild/artifact/openmeetings-server/target/apache-openmeetings-${OM_VERSION}-SNAPSHOT.tar.gz
 -O ${work}/om.tar.gz   && tar -xzf ${work}/om.tar.gz --strip-components=1 -C 
${OM_HOME}/   && rm -rf ${work}/om.tar.gz   && wget 
https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_J_VER}/mysql-connector-java-${MYSQL_J_VER}.jar
 -P ${OM_HOME}/webapps/openmeetings/WEB-INF/lib   && wget 
https://repo1.maven.org/maven2/com/ibm/db2/jcc/${DB2_J_VER}/jcc-${DB2_J_VER}.jar
 -P ${OM_HOME}/webapps/openmeetings/WEB-INF/lib   && sed -i 's|||g' 
/etc/ImageMagick-6/policy.xml
 ---> Running in 6017fe8f01b5
/bin/sh: 1: Syntax error: "&&" unexpected
The command '/bin/sh -c cat /etc/issue && echo "OM server of type 
${OM_TYPE} will be built" && apt-get update && apt-get install -y 
--no-install-recommends apt-utils   && apt-get install -y 
--no-install-recommends software-properties-common gnupg2 dirmngr   
  unzip wget ghostscript libgs-dev imagemagick sox sudo 
libreoffice openjdk-11-jre ffmpeg   && apt-get clean   && rm -rf 
/var/lib/apt/lists/* && && wget 
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/lastSuccessfulBuild/artifact/openmeetings-server/target/apache-openmeetings-${OM_VERSION}-SNAPSHOT.tar.gz
 -O ${work}/om.tar.gz   && tar -xzf ${work}/om.tar.gz --strip-components=1 -C 
${OM_HOME}/   && rm -rf ${work}/om.tar.gz   && wget 
https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_J_VER}/mysql-connector-java-${MYSQL_J_VER}.jar
 -P ${OM_HOME}/webapps/openmeetings/WEB-INF/lib   && wget 
https://repo1.maven.org/maven2/com/ibm/db2/jcc/${DB2_J_VER}/jcc-${DB2_J_VER}.jar
 -P ${OM_HOME}/webapps/openmeetings/WEB-INF/lib   && sed -i 's|||g' 
/etc/ImageMagick-6/policy.xml' returned a non-zero code: 2

openmeetings-docker#

Looks like a typo. The prevous git commit (M3.1) built without
problems.

--
Orm



Re: virtual host config

2020-03-29 Thread Orm Finnendahl
Hi Martin, Maxim,

Am Sonntag, den 29. März 2020 um 08:20:47 Uhr (+0700) schrieb Maxim Solodovnik:
> Locations other than `openmeetings` required for version 4.0.x only and can
> be dropped for 5.0.0
> (`` ... etc.)

 it works now, thanks for the help! Since there seems to be missing
documentation: Is there some place where I can contribute by writing
up some information/documentation about the relation between the
different parts of openmeetings and how to configure/debug the whole
thing? I'd be more than willing to help people trying to set up a
system in the future especially since I know now where the stumbling
blocks were (at least for me).

Best,
Orm


Re: ldap config

2020-03-29 Thread Orm Finnendahl
Hi,

Am Sonntag, den 29. März 2020 um 08:03:33 Uhr (+0700) schrieb Maxim
Solodovnik:
> Documentation is updated (will be published with next release)

Thanks (also for your invaluable explanations)!

ldap access for auth still doesn't seem to work, but it's not
superimportant. Don't bother: We wil keep on trying and figure it out
sooner or later ;-)

For the moment it'd suffice to importing our entries into the db. For
this I need to submit the LDAP domain-id to admin.sh. Can someone
specify what exactly to put in there? I tried all kinds of things and
couldn't find any example. Our ldapserver reacts to the cli command
"ldapsearch -x" by printing out all entries and listens on port 389 of
a local server (address 10.8.0.1).

Best,
Orm


virtual host config

2020-03-28 Thread Orm Finnendahl
Hi,

 we successfully installed openmeetings on our server but have issues
regarding RTC broadcasting. Logging in and testing the camera and
sound works as expected. Changing into a room and allowing
camera/microphone access results in the following error:

Failed to start broadcast: Factory 'WebRtcEndpoint' not found
(Code:40108, Type:null, Data: {"type":"MEDIA_OBJECT_NOT_AVAILABLE"})

We couldn't find any documentation on that. How can we fix it?

--
Orm


virtual host config

2020-03-28 Thread Orm Finnendahl
Hi,

 we successfully installed openmeetings on our server but have some
issues regarding virtual host settings in the apache config. Are there
any exampe files?

Using our vpn and accessing it using the vpn local ip works like this:

https://10.8.0.11:5443/openmeetings/

Below is our entry in the apache config to make it accessible using
https:///openmeetings

We get "The requested URL was not found on this server"

Any help is appreciated.

--
Orm

VirtualHost *:443>
ServerName 
SSLEngine On
SSLCertificateFile/etc/apache2/certs/www.mydomain.com.pem
SSLCertificateKeyFile /etc/apache2/certs/www.mydomain.com.key

SSLCACertificatePath /etc/ssl/certs/
 

RewriteEngine Off

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On
ProxyPass /openmeetings http://127.0.0.1:5080/openmeetings interpolate


Order allow,deny
Allow from all


http://127.0.0.1:5080>
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "mydomain.com:8800"
RequestHeader set "x-webobjects-server-url" 
"https://mydomain.com:8800;
RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
AddDefaultCharset UTF-8


ErrorLog /var/log/apache2/om-error.log
CustomLog /var/log/apache2/om-access.log combined




ldap config

2020-03-28 Thread Orm Finnendahl
Hi,

 we successfully installed openmeetings on our server but have some
issues regarding integration with our ldap authentication server.

LDAP:

1. The location of the file om_ldap.cfg is unclear:

   The example file is located in

   /opt/open503/webapps/openmeetings/data/conf/

   but the online documentation states it should be in

   /opt/open503/webapps/openmeetings/conf/

   What is the right location?

2. The config file says:

   #ConfigKey 'ldap_config_path' must be set in DataBase Configuration
   # of OM and point to this file

   I can't find that entry anywhere. Can someone help?

3. What has to be filled in the ldap_admin_dn? We tried the following
   which uses a new created user in our ldap (without heightened
   privileges):

   ldap_admin_dn=cn=openmeetings,dc=selma,dc=hfmdk-frankfurt,dc=de

   ldap_passwd=

4. What has to be put into the Web Form at Administration/LDAP? I made
   an entry and entered "openmeetings" as Name, enabled it and called
   the config file name "om_ldap.cfg", saved it and hit reload. I can
   still see no users when trying to invite participants or log in
   with any of our ldap users.

5. Are there any logs to check in order to determine what goes wrong?