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:[email protected]]
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 <skipped> Invalid country found: <skipped>, will be replaced with: 
<skipped>

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 
<[email protected]<mailto:[email protected]>> wrote:
Thank’s Maxim  !

De : Maxim Solodovnik [mailto:[email protected]<mailto:[email protected]>]
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" 
<[email protected]<mailto:[email protected]>> 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:[email protected]<mailto:[email protected]>]
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" 
<[email protected]<mailto:[email protected]>> 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:[email protected]<mailto:[email protected]>]
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" 
<[email protected]<mailto:[email protected]>> 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:[email protected]<mailto:[email protected]>]
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" 
<[email protected]<mailto:[email protected]>> 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:[email protected]<mailto:[email protected]>]
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" 
<[email protected]<mailto:[email protected]>> 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

Reply via email to