RE: uploading music files causes error to show

2017-05-04 Thread Maxim Solodovnik
It is impossible to create preview image from music file
This is why you can see concretion error
Please file jira, i'll take a look what can be done

WBR, Maxim
(from mobile, sorry for the typos)

On May 5, 2017 03:33, "Coscend@OM"  wrote:

> Dear OpenMeetings Users,
>
>
>
> We are unable to “cleanly” load and play audio files in 3.2.2/3.2.1.
>
>
>
> (-) for FAIL and (+) for SUCCESS
>
> ---
>
> - While uploading an MP3 or M3A audio, it gives a file processing error.
>
> - It shows up in the File Explorer with an error sign.
>
> - When we drag it to the whiteboard, it shows a deleted jpg image.
>
> + When we play it, it plays perfectly.
>
>
>
> Are we missing something?
>
>
>
> Detailed Log
>
> =
>
> DEBUG 05-04 15:13:12.741 FileProcessor.java 226844 66
> org.apache.openmeetings.core.data.file.FileProcessor
> [http-nio-[IP-Port]-exec-9] - file extension: mp3
>
> DEBUG 05-04 15:13:12.746 FileProcessor.java 226849 79
> org.apache.openmeetings.core.data.file.FileProcessor
> [http-nio-[IP-Port]-exec-9] - isAsIs: false
>
> DEBUG 05-04 15:13:12.766 FileProcessor.java 226869 99
> org.apache.openmeetings.core.data.file.FileProcessor
> [http-nio-[IP-Port]-exec-9] - fileId: 2
>
> DEBUG 05-04 15:13:12.767 FileProcessor.java 226870 102
> org.apache.openmeetings.core.data.file.FileProcessor
> [http-nio-[IP-Port]-exec-9] - writing file to: /usr/local/openmeetings/
> webapps/Openmeetings/upload/files/8aa744b2-353c-4ab8-8778-
> 033246bff455/8aa744b2-353c-4ab8-8778-033246bff455.mp3
>
> DEBUG 05-04 15:13:12.773 FileProcessor.java 226876 110
> org.apache.openmeetings.core.data.file.FileProcessor
> [http-nio-[IP-Port]-exec-9] - canBeConverted: false
>
> DEBUG 05-04 15:13:12.777 ProcessHelper.java 226880 59
> org.apache.openmeetings.util.process.ProcessHelper
> [http-nio-[IP-Port]-exec-9] - START uploadVideo ID :: 2 #
>
> DEBUG 05-04 15:13:12.777 ProcessHelper.java 226880 60
> org.apache.openmeetings.util.process.ProcessHelper
> [http-nio-[IP-Port]-exec-9] - /usr/local/bin/ffmpeg-3.2.4/ffmpeg -y -i
> /usr/local/openmeetings/webapps/Openmeetings/upload/
> files/8aa744b2-353c-4ab8-8778-033246bff455/8aa744b2-353c-4ab8-8778-033246bff455.mp3
> -c:v h264 -c:a libfaac -c:a libfdk_aac -pix_fmt yuv420p
> /usr/local/openmeetings/webapps/Openmeetings/upload/
> files/8aa744b2-353c-4ab8-8778-033246bff455/8aa744b2-353c-4ab8-8778-033246bff455.mp4
>
>
> DEBUG 05-04 15:13:17.474 ProcessHelper.java 231577 66
> org.apache.openmeetings.util.process.ProcessHelper
> [http-nio-[IP-Port]-exec-3] - END uploadVideo ID :: 1 #
>
> DEBUG 05-04 15:13:17.481 ProcessHelper.java 231584 59
> org.apache.openmeetings.util.process.ProcessHelper
> [http-nio-[IP-Port]-exec-3] - START previewUpload ID :: 1 #
>
> DEBUG 05-04 15:13:17.482 ProcessHelper.java 231585 60
> org.apache.openmeetings.util.process.ProcessHelper
> [http-nio-[IP-Port]-exec-3] - /usr/local/bin/ffmpeg-3.2.4/ffmpeg -y -i
> /usr/local/openmeetings/webapps/Openmeetings/upload/
> files/0c7f224e-820b-4b09-a58b-940e59f2c7a2/0c7f224e-820b-4b09-a58b-940e59f2c7a2.mp4
> -codec:v mjpeg -vframes 1 -an -f rawvideo -s 1280x720
> /usr/local/openmeetings/webapps/Openmeetings/upload/
> files/0c7f224e-820b-4b09-a58b-940e59f2c7a2/0c7f224e-820b-4b09-a58b-940e59f2c7a2.jpg
>
>
> DEBUG 05-04 15:13:17.547 ProcessHelper.java 231650 66
> org.apache.openmeetings.util.process.ProcessHelper
> [http-nio-[IP-Port]-exec-3] - END previewUpload ID :: 1 #
>
> DEBUG 05-04 15:13:17.575 FileExplorerItemDao.java 231678 102
> org.apache.openmeetings.db.dao.file.FileExplorerItemDao
> [http-nio-[IP-Port]-exec-3] - getByOwner() started
>
> DEBUG 05-04 15:13:17.579 FileExplorerItemDao.java 231682 97
> org.apache.openmeetings.db.dao.file.FileExplorerItemDao
> [http-nio-[IP-Port]-exec-3] - getFileExplorerItemsByRoom roomId :: 5
>
> DEBUG 05-04 15:13:17.583 FileExplorerItemDao.java 231686 102
> org.apache.openmeetings.db.dao.file.FileExplorerItemDao
> [http-nio-[IP-Port]-exec-3] - getByOwner() started
>
> DEBUG 05-04 15:13:17.649 MainPanel.java 231752 265
> org.apache.openmeetings.web.common.MainPanel [http-nio-[IP-Port]-exec-7]
> - WebSocketBehavior::closeHandler [uid: e723722c-6cb5-40c8-9b25-ea99707d05ab,
> session: D9DAF3FBCE624A6F136757BA05F4A4CD, key:
> org.apache.wicket.protocol.ws.api.registry.PageIdKey@0]
>
> DEBUG 05-04 15:13:17.650 Application.java 231753 411
> org.apache.openmeetings.web.app.Application [http-nio-[IP-Port]-exec-7] -
> Removing online room client: e723722c-6cb5-40c8-9b25-ea99707d05ab, room: 5
>
> DEBUG 05-04 15:13:17.650 ScopeApplicationAdapter.java 231753 586
> org.apache.openmeetings.core.remote.red5.ScopeApplicationAdapter
> [http-nio-[IP-Port]-exec-7] - [roomLeaveByScope] 
> e723722c-6cb5-40c8-9b25-ea99707d05ab
> 5 null Scope [name=5, path=/default/Openmeetings, type=ROOM,
> autoStart=true, creationTime=1493928769068, depth=2, enabled=true,
> running=true]
>
> DEBUG 05-04 

RE: uploading music files causes error to show

2017-05-04 Thread Coscend@OM
Dear OpenMeetings Users,

 

We are unable to “cleanly” load and play audio files in 3.2.2/3.2.1.  

 

(-) for FAIL and (+) for SUCCESS

---

- While uploading an MP3 or M3A audio, it gives a file processing error.  

- It shows up in the File Explorer with an error sign.  

- When we drag it to the whiteboard, it shows a deleted jpg image.

+ When we play it, it plays perfectly.

 

Are we missing something?

 

Detailed Log

=

DEBUG 05-04 15:13:12.741 FileProcessor.java 226844 66 
org.apache.openmeetings.core.data.file.FileProcessor 
[http-nio-[IP-Port]-exec-9] - file extension: mp3

DEBUG 05-04 15:13:12.746 FileProcessor.java 226849 79 
org.apache.openmeetings.core.data.file.FileProcessor 
[http-nio-[IP-Port]-exec-9] - isAsIs: false

DEBUG 05-04 15:13:12.766 FileProcessor.java 226869 99 
org.apache.openmeetings.core.data.file.FileProcessor 
[http-nio-[IP-Port]-exec-9] - fileId: 2

DEBUG 05-04 15:13:12.767 FileProcessor.java 226870 102 
org.apache.openmeetings.core.data.file.FileProcessor 
[http-nio-[IP-Port]-exec-9] - writing file to: 
/usr/local/openmeetings/webapps/Openmeetings/upload/files/8aa744b2-353c-4ab8-8778-033246bff455/8aa744b2-353c-4ab8-8778-033246bff455.mp3

DEBUG 05-04 15:13:12.773 FileProcessor.java 226876 110 
org.apache.openmeetings.core.data.file.FileProcessor 
[http-nio-[IP-Port]-exec-9] - canBeConverted: false

DEBUG 05-04 15:13:12.777 ProcessHelper.java 226880 59 
org.apache.openmeetings.util.process.ProcessHelper [http-nio-[IP-Port]-exec-9] 
- START uploadVideo ID :: 2 # 

DEBUG 05-04 15:13:12.777 ProcessHelper.java 226880 60 
org.apache.openmeetings.util.process.ProcessHelper [http-nio-[IP-Port]-exec-9] 
- /usr/local/bin/ffmpeg-3.2.4/ffmpeg -y -i 
/usr/local/openmeetings/webapps/Openmeetings/upload/files/8aa744b2-353c-4ab8-8778-033246bff455/8aa744b2-353c-4ab8-8778-033246bff455.mp3
 -c:v h264 -c:a libfaac -c:a libfdk_aac -pix_fmt yuv420p 
/usr/local/openmeetings/webapps/Openmeetings/upload/files/8aa744b2-353c-4ab8-8778-033246bff455/8aa744b2-353c-4ab8-8778-033246bff455.mp4
 

DEBUG 05-04 15:13:17.474 ProcessHelper.java 231577 66 
org.apache.openmeetings.util.process.ProcessHelper [http-nio-[IP-Port]-exec-3] 
- END uploadVideo ID :: 1 # 

DEBUG 05-04 15:13:17.481 ProcessHelper.java 231584 59 
org.apache.openmeetings.util.process.ProcessHelper [http-nio-[IP-Port]-exec-3] 
- START previewUpload ID :: 1 # 

DEBUG 05-04 15:13:17.482 ProcessHelper.java 231585 60 
org.apache.openmeetings.util.process.ProcessHelper [http-nio-[IP-Port]-exec-3] 
- /usr/local/bin/ffmpeg-3.2.4/ffmpeg -y -i 
/usr/local/openmeetings/webapps/Openmeetings/upload/files/0c7f224e-820b-4b09-a58b-940e59f2c7a2/0c7f224e-820b-4b09-a58b-940e59f2c7a2.mp4
 -codec:v mjpeg -vframes 1 -an -f rawvideo -s 1280x720 
/usr/local/openmeetings/webapps/Openmeetings/upload/files/0c7f224e-820b-4b09-a58b-940e59f2c7a2/0c7f224e-820b-4b09-a58b-940e59f2c7a2.jpg
 

DEBUG 05-04 15:13:17.547 ProcessHelper.java 231650 66 
org.apache.openmeetings.util.process.ProcessHelper [http-nio-[IP-Port]-exec-3] 
- END previewUpload ID :: 1 # 

DEBUG 05-04 15:13:17.575 FileExplorerItemDao.java 231678 102 
org.apache.openmeetings.db.dao.file.FileExplorerItemDao 
[http-nio-[IP-Port]-exec-3] - getByOwner() started

DEBUG 05-04 15:13:17.579 FileExplorerItemDao.java 231682 97 
org.apache.openmeetings.db.dao.file.FileExplorerItemDao 
[http-nio-[IP-Port]-exec-3] - getFileExplorerItemsByRoom roomId :: 5

DEBUG 05-04 15:13:17.583 FileExplorerItemDao.java 231686 102 
org.apache.openmeetings.db.dao.file.FileExplorerItemDao 
[http-nio-[IP-Port]-exec-3] - getByOwner() started

DEBUG 05-04 15:13:17.649 MainPanel.java 231752 265 
org.apache.openmeetings.web.common.MainPanel [http-nio-[IP-Port]-exec-7] - 
WebSocketBehavior::closeHandler [uid: e723722c-6cb5-40c8-9b25-ea99707d05ab, 
session: D9DAF3FBCE624A6F136757BA05F4A4CD, key: 
org.apache.wicket.protocol.ws.api.registry.PageIdKey@0]

DEBUG 05-04 15:13:17.650 Application.java 231753 411 
org.apache.openmeetings.web.app.Application [http-nio-[IP-Port]-exec-7] - 
Removing online room client: e723722c-6cb5-40c8-9b25-ea99707d05ab, room: 5

DEBUG 05-04 15:13:17.650 ScopeApplicationAdapter.java 231753 586 
org.apache.openmeetings.core.remote.red5.ScopeApplicationAdapter 
[http-nio-[IP-Port]-exec-7] - [roomLeaveByScope] 
e723722c-6cb5-40c8-9b25-ea99707d05ab 5 null Scope [name=5, 
path=/default/Openmeetings, type=ROOM, autoStart=true, 
creationTime=1493928769068, depth=2, enabled=true, running=true]

DEBUG 05-04 15:13:17.651 WebSocketHelper.java 231754 72 
org.apache.openmeetings.core.util.WebSocketHelper [http-nio-[IP-Port]-exec-7] - 
Sending WebSocket message: roomExit 

DEBUG 05-04 15:13:17.773 ProcessHelper.java 231876 66 
org.apache.openmeetings.util.process.ProcessHelper [http-nio-[IP-Port]-exec-9] 
- END uploadVideo ID :: 2 # 

DEBUG 05-04 15:13:17.776 ProcessHelper.java 231879 59 

RE: [DISCUSSION] HTML5 whiteboard for 4.0.0

2017-05-04 Thread Coscend@OM
Dear OpenMeetings Community,

 

Two thoughts to consider:

1. Perhaps we could add a “double left arrow” left of the Whiteboard tab to 
collapse the Left Panel (Users/Files).  This will help expand the Whiteboard to 
full screen, as it was in 3.1.x.  Also, perhaps this can be forced on all 
attendees by Moderator.

2. Regarding the screenshot created by Denis and forwarded by Maxim 
(https://www.dropbox.com/sh/mg4rszx2j8xgcoa/AAACBWg8E73TiB9rYDi6vzR6a?dl=0):  
The left vertical column containing icons (Users/Files/Chat/Activities) is 
unused.  Perhaps we could make that panel horizontal as it is in 3.2.x, except 
remove the labels and add only tooltips.

 

Thank you.

 

Sincerely,

 

Hemant K. Sabat

 

Coscend Communications Solutions

Web site: www.Coscend.com   

--

Real-time, Interactive Video Collaboration, Tele-healthcare, Tele-education, 
Telepresence Services, on the fly…

--

CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail Messages 
from Coscend Communications Solutions' posted at: 
http://www.Coscend.com/Terms_and_Conditions.html 

 

 

 

 

From: Maxim Solodovnik [mailto:solomax...@gmail.com] 
Sent: Wednesday, May 3, 2017 8:03 AM
To: Openmeetings user-list 
Cc: Denis Kandrov 
Subject: Re: [DISCUSSION] HTML5 whiteboard for 4.0.0

 

"sketchpad" provides zoom as part of the toolbar

and toolbar is more compact, this is what I like, current toolbar is too big 
IMHO, i would add grouping to it or change it to be more compact

 

1) Actually I guess toolbar at Denis'es screenshot is the same as on demo

it look smaller cause screenshot is 1920x957px :)

 

2) it is just an idea, I would prefer normal horizontal toolbar (maybe without 
text) due to it will take less width

 

currently we are collecting user input :)

 

On Wed, May 3, 2017 at 7:54 PM, Daniel Ascher  > wrote:

Maxim--which aspect of   
https://sketch.io/sketchpad/ are you saying we could implement? I am confused.

 

Also, on the dropbox sketches provided by Dennis, I see two major changes:

 

1. Smaller toolbar (right side of screenshot) which I like.

2. Vertically aligned user's area (far left of screen). What is the reason for 
doing it this way? And what questions/problems remain to be answered about this 
design?

 

I'd like to contribute to this discussion if I understand the remaining 
questions.

 

Thanks!!

 

Dan



 

On Tue, May 2, 2017 at 2:19 AM, Maxim Solodovnik  > wrote:

We can try to implement something like this: https://sketch.io/sketchpad/

 

On Fri, Apr 28, 2017 at 11:58 PM, Maxim Solodovnik  > wrote:

Hello Denis,

 

Maybe you have free time to help with design of new room?

 

We need to put scale and goto/prev/next page somewhere

And I believe we need to change WB toolbar to be more compact

 

Additional requirements: 

1) we need a way to display Chat and WB same time 

2) we need a way to display Activities and WB (and Chat) same time

 

I see no places where to put it :(

 

Thanks in advance

 

 

On Fri, Apr 28, 2017 at 8:31 AM, Maxim Solodovnik  > wrote:

Hello Peter,

 

just have checked, the issue with NullPointer is not reproducible locally :((

can you please run "svn status" to ensure no java files are locally modified?

 

Could you additionally check the logs, maybe you have any other warnings/errors?

 

On Thu, Apr 27, 2017 at 7:37 PM, Peter Dähn  > wrote:

Hi Maxim,

finally details for 1)

create poll (this was y/n, but doesn't matter), vote, close poll (same result 
without closing) and try to delete it ends up in 500 server fault

Demo server works. Serverlog from my machine for create, vote colse and delete

DEBUG 04-27 14:27:50.678 PollDao.java 192522288 87 
org.apache.openmeetings.db.dao.room.PollDao [http-nio-0.0.0.0-5080-exec-3] -  
:: getPoll :: 19
DEBUG 04-27 14:27:50.681 PollDao.java 192522291 113 
org.apache.openmeetings.db.dao.room.PollDao [http-nio-0.0.0.0-5080-exec-3] -  
:: getArchived :: 19
DEBUG 04-27 14:27:50.698 RoomPanel.java 192522308 250 
org.apache.openmeetings.web.ro  
om.RoomPanel [http-nio-0.0.0.0-5080-exec-3] - public ? true, ownedId ? 0 true
DEBUG 04-27 14:27:50.759 MainPanel.java 192522369 256 
org.apache.openmeetings.web.co  
mmon.MainPanel [http-nio-0.0.0.0-5080-exec-3] - WebSocketBehavior:: pingTimer 
is attached
DEBUG 04-27 14:27:50.850 FileExplorerItemDao.java 192522460 100 
org.apache.openmeetings.db.dao.file.FileExplorerItemDao 

Re: Share/Record screen

2017-05-04 Thread Maxim Solodovnik
Hello,

Since errors are text you can read it, and copy/paste as text
If you read your error you will see "Unknown encoder libfdk_aac", this
means your ffmpeg doesn't have necessary codecs
You need to recompile it from sources .

On Thu, May 4, 2017 at 6:17 PM, Dhanashree Kulkarni <
kulkarnidhan...@gmail.com> wrote:

> Hello,
>
> I am using Apache openmeetings 3.2.0. I have recorded my screen using
> Share/record screen. But when I want to playback my recording it gives
> error saying "Recorded File not found". I am attaching screen shop of
> errors I am getting.
> Thank you.
>
> --
> *Mit freundlichen Grüßen*
> *Dhanashree Kulkarni*
>



-- 
WBR
Maxim aka solomax


Re: default country when user is create

2017-05-04 Thread Maxim Solodovnik
Good to know
Thanks for sharing :)

On Thu, May 4, 2017 at 7:35 PM, Chamberland, Martin <
martin.chamberl...@fadq.qc.ca> wrote:

> It’s FIX, with the help of Microsoft guys (AD).
>
>
>
> With the link you provide about country ISO stuff, we change this
>
>
>
> ldap_user_attr_country=co
>
> to this
>
> ldap_user_attr_country=c
>
>
>
> now, it’s working !
>
>
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 4 mai 2017 08:16
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> Maybe you have AD attribute with country code, not name?
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 18:42, "Chamberland, Martin" 
> wrote:
>
> DEBUG 05-04 07:36:46.133 o.a.o.c.l.LdapLoginManagement:232
> [http-nio-0.0.0.0-5080-exec-3] - getByLogin:: authenticated ? true, login =
> 'u...@domain.com',
>
> domain = 2, user = User [id=23, firstname=Martin, lastname=Chamberland,
> login=u...@domain.com, pictureuri=null, deleted=false, languageId=4,
>
> address=Address [id=23, *country=AD*, street=1400, my complete address,
> town=MyTown, zip=C6X 7K5, deleted=false, email=Martin.Chamberland@
> domain.com,
>
> phone=(415) 828-5666, poste ], externalId=null, externalType=null,
> type=ldap]
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 22:58
> *À :* Openmeetings user-list
> *Objet :* Re: default country when user is create
>
>
>
> Hello Martin,
>
>
>
> Just have checked the code
>
>
>
> Country is expected as ISO alpha-2 code: http://www.
> nationsonline.org/oneworld/country_code_list.htm
>
> In case country fail to map following line should appear in the log:
>
>
>
> WARN  Invalid country found: , will be replaced with:
> 
>
>
>
> Could you check what value is stored in AD? Do you have WARN like this in
> your openmeetings.log?
>
>
>
>
>
> On Thu, May 4, 2017 at 12:28 AM, Chamberland, Martin <
> martin.chamberl...@fadq.qc.ca> wrote:
>
> Thank’s Maxim  !
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 13:26
>
>
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> Will try to check tomorrow
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 00:22, "Chamberland, Martin" 
> wrote:
>
> In the LDAP/AD, the country is Canada, but after i login (and the user is
> automactly created) it still Andorre (Andorra)
>
>
>
>
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 13:20
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> Country is Canada in ldap and in user
>
> What is wrong?
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 00:17, "Chamberland, Martin" 
> wrote:
>
> Those two seem to work correctly :
>
>
>
> postalCode
>
> streetAddress
>
>
>
> I can see those two parameters in the user (after it was created)
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 13:14
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> Maybe country in ad is mapped to different attribute?
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 00:12, "Chamberland, Martin" 
> wrote:
>
> So you said probably that setting is not set in my AD ?
>
>
>
> I will have to ask Microsoft guys, right ?
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 13:06
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> I believe you modify the parameter so it will read country from AD
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 00:03, "Chamberland, Martin" 
> wrote:
>
> This parameter is already in the ldap.cfg file
>
> I think it read nothing in my LDAP/AD
>
>
>
> I talk about COUNTRY in each user.
>
> When they connected for the first time from LDAP/AD,  they are created in
> the OM db
>
> There is a field COUNTRY, i wish this field is set by default to CANADA.
>
>
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 11:51
> *À :* Openmeetings user-list
> *Objet :* Re: default country when user is create
>
>
>
> There is attribute in ldap config:
>
> ldap_user_attr_country=co
>
> Is it what you are looking for?
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 3, 2017 22:30, "Chamberland, Martin" 
> wrote:
>
> Hi there,
>
>
>
> Is there a hidden parameter somewhere we can use to set de default country
> when a user connected to OM and is create on the fly with LDAP/AD
> configuration.
>
> I found the parameter « default_lang_id » and it’s working perfectly.
>
>
>
> Thank’s in advance.
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax

RE: default country when user is create

2017-05-04 Thread Chamberland, Martin
It’s FIX, with the help of Microsoft guys (AD).

With the link you provide about country ISO stuff, we change this

ldap_user_attr_country=co
to this
ldap_user_attr_country=c

now, it’s working !


De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 4 mai 2017 08:16
À : Openmeetings user-list
Objet : RE: default country when user is create

Maybe you have AD attribute with country code, not name?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 18:42, "Chamberland, Martin" 
> wrote:
DEBUG 05-04 07:36:46.133 o.a.o.c.l.LdapLoginManagement:232 
[http-nio-0.0.0.0-5080-exec-3] - getByLogin:: authenticated ? true, login = 
'u...@domain.com',
domain = 2, user = User [id=23, firstname=Martin, lastname=Chamberland, 
login=u...@domain.com, pictureuri=null, deleted=false, 
languageId=4,
address=Address [id=23, country=AD, street=1400, my complete address, 
town=MyTown, zip=C6X 7K5, deleted=false, 
email=martin.chamberl...@domain.com,
phone=(415) 828-5666, poste ], externalId=null, externalType=null, 
type=ldap]

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 22:58
À : Openmeetings user-list
Objet : Re: default country when user is create

Hello Martin,

Just have checked the code

Country is expected as ISO alpha-2 code: 
http://www.nationsonline.org/oneworld/country_code_list.htm
In case country fail to map following line should appear in the log:

WARN  Invalid country found: , will be replaced with: 


Could you check what value is stored in AD? Do you have WARN like this in your 
openmeetings.log?


On Thu, May 4, 2017 at 12:28 AM, Chamberland, Martin 
> wrote:
Thank’s Maxim  !

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:26

À : Openmeetings user-list
Objet : RE: default country when user is create

Will try to check tomorrow
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:22, "Chamberland, Martin" 
> wrote:
In the LDAP/AD, the country is Canada, but after i login (and the user is 
automactly created) it still Andorre (Andorra)



De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:20
À : Openmeetings user-list
Objet : RE: default country when user is create

Country is Canada in ldap and in user
What is wrong?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:17, "Chamberland, Martin" 
> wrote:
Those two seem to work correctly :

postalCode
streetAddress

I can see those two parameters in the user (after it was created)

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:14
À : Openmeetings user-list
Objet : RE: default country when user is create

Maybe country in ad is mapped to different attribute?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:12, "Chamberland, Martin" 
> wrote:
So you said probably that setting is not set in my AD ?

I will have to ask Microsoft guys, right ?

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:06
À : Openmeetings user-list
Objet : RE: default country when user is create

I believe you modify the parameter so it will read country from AD
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:03, "Chamberland, Martin" 
> wrote:
This parameter is already in the ldap.cfg file
I think it read nothing in my LDAP/AD

I talk about COUNTRY in each user.
When they connected for the first time from LDAP/AD,  they are created in the 
OM db
There is a field COUNTRY, i wish this field is set by default to CANADA.


De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 11:51
À : Openmeetings user-list
Objet : Re: default country when user is create

There is attribute in ldap config:
ldap_user_attr_country=co
Is it what you are looking for?
WBR, Maxim
(from mobile, sorry for the typos)

On May 3, 2017 22:30, "Chamberland, Martin" 
> wrote:
Hi there,

Is there a hidden parameter somewhere we can use to set de default country when 
a user connected to OM and is create on the fly with LDAP/AD configuration.
I found the parameter « default_lang_id » and it’s working perfectly.

Thank’s in advance.



--
WBR
Maxim aka solomax


RE: default country when user is create

2017-05-04 Thread Chamberland, Martin
I will go and work that with MicroSoft guys here.
I hope then can help me about that.


De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 4 mai 2017 08:16
À : Openmeetings user-list
Objet : RE: default country when user is create

Maybe you have AD attribute with country code, not name?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 18:42, "Chamberland, Martin" 
> wrote:
DEBUG 05-04 07:36:46.133 o.a.o.c.l.LdapLoginManagement:232 
[http-nio-0.0.0.0-5080-exec-3] - getByLogin:: authenticated ? true, login = 
'u...@domain.com',
domain = 2, user = User [id=23, firstname=Martin, lastname=Chamberland, 
login=u...@domain.com, pictureuri=null, deleted=false, 
languageId=4,
address=Address [id=23, country=AD, street=1400, my complete address, 
town=MyTown, zip=C6X 7K5, deleted=false, 
email=martin.chamberl...@domain.com,
phone=(415) 828-5666, poste ], externalId=null, externalType=null, 
type=ldap]

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 22:58
À : Openmeetings user-list
Objet : Re: default country when user is create

Hello Martin,

Just have checked the code

Country is expected as ISO alpha-2 code: 
http://www.nationsonline.org/oneworld/country_code_list.htm
In case country fail to map following line should appear in the log:

WARN  Invalid country found: , will be replaced with: 


Could you check what value is stored in AD? Do you have WARN like this in your 
openmeetings.log?


On Thu, May 4, 2017 at 12:28 AM, Chamberland, Martin 
> wrote:
Thank’s Maxim  !

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:26

À : Openmeetings user-list
Objet : RE: default country when user is create

Will try to check tomorrow
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:22, "Chamberland, Martin" 
> wrote:
In the LDAP/AD, the country is Canada, but after i login (and the user is 
automactly created) it still Andorre (Andorra)



De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:20
À : Openmeetings user-list
Objet : RE: default country when user is create

Country is Canada in ldap and in user
What is wrong?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:17, "Chamberland, Martin" 
> wrote:
Those two seem to work correctly :

postalCode
streetAddress

I can see those two parameters in the user (after it was created)

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:14
À : Openmeetings user-list
Objet : RE: default country when user is create

Maybe country in ad is mapped to different attribute?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:12, "Chamberland, Martin" 
> wrote:
So you said probably that setting is not set in my AD ?

I will have to ask Microsoft guys, right ?

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:06
À : Openmeetings user-list
Objet : RE: default country when user is create

I believe you modify the parameter so it will read country from AD
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:03, "Chamberland, Martin" 
> wrote:
This parameter is already in the ldap.cfg file
I think it read nothing in my LDAP/AD

I talk about COUNTRY in each user.
When they connected for the first time from LDAP/AD,  they are created in the 
OM db
There is a field COUNTRY, i wish this field is set by default to CANADA.


De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 11:51
À : Openmeetings user-list
Objet : Re: default country when user is create

There is attribute in ldap config:
ldap_user_attr_country=co
Is it what you are looking for?
WBR, Maxim
(from mobile, sorry for the typos)

On May 3, 2017 22:30, "Chamberland, Martin" 
> wrote:
Hi there,

Is there a hidden parameter somewhere we can use to set de default country when 
a user connected to OM and is create on the fly with LDAP/AD configuration.
I found the parameter « default_lang_id » and it’s working perfectly.

Thank’s in advance.



--
WBR
Maxim aka solomax


RE: default country when user is create

2017-05-04 Thread Maxim Solodovnik
Maybe you have AD attribute with country code, not name?

WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 18:42, "Chamberland, Martin" 
wrote:

> DEBUG 05-04 07:36:46.133 o.a.o.c.l.LdapLoginManagement:232
> [http-nio-0.0.0.0-5080-exec-3] - getByLogin:: authenticated ? true, login =
> 'u...@domain.com',
>
> domain = 2, user = User [id=23, firstname=Martin, lastname=Chamberland,
> login=u...@domain.com, pictureuri=null, deleted=false, languageId=4,
>
> address=Address [id=23, *country=AD*, street=1400, my complete address,
> town=MyTown, zip=C6X 7K5, deleted=false, email=Martin.Chamberland@
> domain.com,
>
> phone=(415) 828-5666, poste ], externalId=null, externalType=null,
> type=ldap]
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 22:58
> *À :* Openmeetings user-list
> *Objet :* Re: default country when user is create
>
>
>
> Hello Martin,
>
>
>
> Just have checked the code
>
>
>
> Country is expected as ISO alpha-2 code: http://www.
> nationsonline.org/oneworld/country_code_list.htm
>
> In case country fail to map following line should appear in the log:
>
>
>
> WARN  Invalid country found: , will be replaced with:
> 
>
>
>
> Could you check what value is stored in AD? Do you have WARN like this in
> your openmeetings.log?
>
>
>
>
>
> On Thu, May 4, 2017 at 12:28 AM, Chamberland, Martin <
> martin.chamberl...@fadq.qc.ca> wrote:
>
> Thank’s Maxim  !
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 13:26
>
>
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> Will try to check tomorrow
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 00:22, "Chamberland, Martin" 
> wrote:
>
> In the LDAP/AD, the country is Canada, but after i login (and the user is
> automactly created) it still Andorre (Andorra)
>
>
>
>
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 13:20
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> Country is Canada in ldap and in user
>
> What is wrong?
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 00:17, "Chamberland, Martin" 
> wrote:
>
> Those two seem to work correctly :
>
>
>
> postalCode
>
> streetAddress
>
>
>
> I can see those two parameters in the user (after it was created)
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 13:14
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> Maybe country in ad is mapped to different attribute?
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 00:12, "Chamberland, Martin" 
> wrote:
>
> So you said probably that setting is not set in my AD ?
>
>
>
> I will have to ask Microsoft guys, right ?
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 13:06
> *À :* Openmeetings user-list
> *Objet :* RE: default country when user is create
>
>
>
> I believe you modify the parameter so it will read country from AD
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 4, 2017 00:03, "Chamberland, Martin" 
> wrote:
>
> This parameter is already in the ldap.cfg file
>
> I think it read nothing in my LDAP/AD
>
>
>
> I talk about COUNTRY in each user.
>
> When they connected for the first time from LDAP/AD,  they are created in
> the OM db
>
> There is a field COUNTRY, i wish this field is set by default to CANADA.
>
>
>
>
>
> *De :* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Envoyé :* 3 mai 2017 11:51
> *À :* Openmeetings user-list
> *Objet :* Re: default country when user is create
>
>
>
> There is attribute in ldap config:
>
> ldap_user_attr_country=co
>
> Is it what you are looking for?
>
> WBR, Maxim
> (from mobile, sorry for the typos)
>
>
>
> On May 3, 2017 22:30, "Chamberland, Martin" 
> wrote:
>
> Hi there,
>
>
>
> Is there a hidden parameter somewhere we can use to set de default country
> when a user connected to OM and is create on the fly with LDAP/AD
> configuration.
>
> I found the parameter « default_lang_id » and it’s working perfectly.
>
>
>
> Thank’s in advance.
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>


RE: default country when user is create

2017-05-04 Thread Chamberland, Martin
DEBUG 05-04 07:36:46.133 o.a.o.c.l.LdapLoginManagement:232 
[http-nio-0.0.0.0-5080-exec-3] - getByLogin:: authenticated ? true, login = 
'u...@domain.com',
domain = 2, user = User [id=23, firstname=Martin, lastname=Chamberland, 
login=u...@domain.com, pictureuri=null, deleted=false, languageId=4,
address=Address [id=23, country=AD, street=1400, my complete address, 
town=MyTown, zip=C6X 7K5, deleted=false, email=martin.chamberl...@domain.com,
phone=(415) 828-5666, poste ], externalId=null, externalType=null, 
type=ldap]

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 22:58
À : Openmeetings user-list
Objet : Re: default country when user is create

Hello Martin,

Just have checked the code

Country is expected as ISO alpha-2 code: 
http://www.nationsonline.org/oneworld/country_code_list.htm
In case country fail to map following line should appear in the log:

WARN  Invalid country found: , will be replaced with: 


Could you check what value is stored in AD? Do you have WARN like this in your 
openmeetings.log?


On Thu, May 4, 2017 at 12:28 AM, Chamberland, Martin 
> wrote:
Thank’s Maxim  !

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:26

À : Openmeetings user-list
Objet : RE: default country when user is create

Will try to check tomorrow
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:22, "Chamberland, Martin" 
> wrote:
In the LDAP/AD, the country is Canada, but after i login (and the user is 
automactly created) it still Andorre (Andorra)



De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:20
À : Openmeetings user-list
Objet : RE: default country when user is create

Country is Canada in ldap and in user
What is wrong?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:17, "Chamberland, Martin" 
> wrote:
Those two seem to work correctly :

postalCode
streetAddress

I can see those two parameters in the user (after it was created)

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:14
À : Openmeetings user-list
Objet : RE: default country when user is create

Maybe country in ad is mapped to different attribute?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:12, "Chamberland, Martin" 
> wrote:
So you said probably that setting is not set in my AD ?

I will have to ask Microsoft guys, right ?

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:06
À : Openmeetings user-list
Objet : RE: default country when user is create

I believe you modify the parameter so it will read country from AD
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:03, "Chamberland, Martin" 
> wrote:
This parameter is already in the ldap.cfg file
I think it read nothing in my LDAP/AD

I talk about COUNTRY in each user.
When they connected for the first time from LDAP/AD,  they are created in the 
OM db
There is a field COUNTRY, i wish this field is set by default to CANADA.


De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 11:51
À : Openmeetings user-list
Objet : Re: default country when user is create

There is attribute in ldap config:
ldap_user_attr_country=co
Is it what you are looking for?
WBR, Maxim
(from mobile, sorry for the typos)

On May 3, 2017 22:30, "Chamberland, Martin" 
> wrote:
Hi there,

Is there a hidden parameter somewhere we can use to set de default country when 
a user connected to OM and is create on the fly with LDAP/AD configuration.
I found the parameter « default_lang_id » and it’s working perfectly.

Thank’s in advance.



--
WBR
Maxim aka solomax


RE: default country when user is create

2017-05-04 Thread Chamberland, Martin
Exactly :  WARN 05-04 07:36:46.134 o.a.o.d.u.LocaleHelper:54 
[http-nio-0.0.0.0-5080-exec-3] - Invalid country found: CANADA, will be 
replaced with: AD

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 22:58
À : Openmeetings user-list
Objet : Re: default country when user is create

Hello Martin,

Just have checked the code

Country is expected as ISO alpha-2 code: 
http://www.nationsonline.org/oneworld/country_code_list.htm
In case country fail to map following line should appear in the log:

WARN  Invalid country found: , will be replaced with: 


Could you check what value is stored in AD? Do you have WARN like this in your 
openmeetings.log?


On Thu, May 4, 2017 at 12:28 AM, Chamberland, Martin 
> wrote:
Thank’s Maxim  !

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:26

À : Openmeetings user-list
Objet : RE: default country when user is create

Will try to check tomorrow
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:22, "Chamberland, Martin" 
> wrote:
In the LDAP/AD, the country is Canada, but after i login (and the user is 
automactly created) it still Andorre (Andorra)



De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:20
À : Openmeetings user-list
Objet : RE: default country when user is create

Country is Canada in ldap and in user
What is wrong?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:17, "Chamberland, Martin" 
> wrote:
Those two seem to work correctly :

postalCode
streetAddress

I can see those two parameters in the user (after it was created)

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:14
À : Openmeetings user-list
Objet : RE: default country when user is create

Maybe country in ad is mapped to different attribute?
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:12, "Chamberland, Martin" 
> wrote:
So you said probably that setting is not set in my AD ?

I will have to ask Microsoft guys, right ?

De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 13:06
À : Openmeetings user-list
Objet : RE: default country when user is create

I believe you modify the parameter so it will read country from AD
WBR, Maxim
(from mobile, sorry for the typos)

On May 4, 2017 00:03, "Chamberland, Martin" 
> wrote:
This parameter is already in the ldap.cfg file
I think it read nothing in my LDAP/AD

I talk about COUNTRY in each user.
When they connected for the first time from LDAP/AD,  they are created in the 
OM db
There is a field COUNTRY, i wish this field is set by default to CANADA.


De : Maxim Solodovnik [mailto:solomax...@gmail.com]
Envoyé : 3 mai 2017 11:51
À : Openmeetings user-list
Objet : Re: default country when user is create

There is attribute in ldap config:
ldap_user_attr_country=co
Is it what you are looking for?
WBR, Maxim
(from mobile, sorry for the typos)

On May 3, 2017 22:30, "Chamberland, Martin" 
> wrote:
Hi there,

Is there a hidden parameter somewhere we can use to set de default country when 
a user connected to OM and is create on the fly with LDAP/AD configuration.
I found the parameter « default_lang_id » and it’s working perfectly.

Thank’s in advance.



--
WBR
Maxim aka solomax