Thank you Giese,

 

I made the following change to my earlier config and it started working

 

ldap_search_query=(sAMAccountName=%s)

ldap_userdn_format=sAMAccountName=%s,DC=abcd,DC=co,DC=in

 

Best Regards

 

Dominic

 

From: Giese, Edgar [mailto:[email protected]] 
Sent: 18 June 2015 11:49
To: [email protected]
Subject: Re: Openmeetings 3.0.6 and LDAP

 

Hi,

 

hope it will sort to Dominic Prakash.

 

I uses the template in webapps/openmeetings/conf. 

 

My config works like this:

 

#

# Licensed to the Apache Software Foundation (ASF) under one

# or more contributor license agreements.  See the NOTICE file

# distributed with this work for additional information

# regarding copyright ownership.  The ASF licenses this file

# to you under the Apache License, Version 2.0 (the

# "License"); you may not use this file except in compliance

# with the License.  You may obtain a copy of the License at

# 

#     http://www.apache.org/licenses/LICENSE-2.0

#         

# Unless required by applicable law or agreed to in writing,

# software distributed under the License is distributed on an

# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY

# KIND, either express or implied.  See the License for the

# specific language governing permissions and limitations

# under the License.

# 

#ConfigurationFile for LDAP Auth

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

#o.becherer,14.01.2009

 

#LDAP URL

# This is the URL used to access your LDAP server.

# if you want to use "ldaps://" links, please be aware that you need to import 
your CA certificate

#  to a java keystore and add the -Djavax.net.ssl.keyStore, 
-Djavax.net.ssl.keyStorePassword,

#  -Djavax.net.ssl.trustStore and -Djavax.net.ssl.trustStorePassword parameters 
to your 

#  JAVA_OPT environment

ldap_conn_host=10.110.3.1

ldap_conn_port=389

ldap_conn_secure=false

 

# Login distinguished name (DN) for Authentication on LDAP Server - keep empty 
if not required

# Use full qualified LDAP DN

ldap_admin_dn=CN=ldapauth,OU=Software,DC=abcd,DC=co,DC=in

 

# Loginpass for Authentication on LDAP Server - keep empty if not required

ldap_passwd=Password

 

# base to search for userdata(of user, that wants to login)

ldap_search_base=DC=abcd,DC=co,DC=in

 

# Fieldnames (can differ between Ldap servers) 

#ldap_search_query=(uid=%s)

ldap_search_query=(userPrincipalName=%s)

 

# the scope of the search might be: OBJECT, ONELEVEL, SUBTREE

ldap_search_scope=SUBTREE

 

# Ldap auth type(NONE, SEARCHANDBIND, SIMPLEBIND)

#  When using SIMPLEBIND a simple bind is performed on the LDAP server to check 
user authentication

#  When using NONE, the Ldap server is not used for authentication

ldap_auth_type=SEARCHANDBIND

 

# userDN format, will be used to bind if ldap_auth_type=SIMPLEBIND

# might be used to get provisionningDn in case ldap_auth_type=NONE

ldap_userdn_format=uid=%s,DC=abcd,DC=co,DC=in

 

# Ldap provisioning type(NONE, AUTOCREATE, AUTOUPDATE)

ldap_provisionning=AUTOCREATE

 

# Ldap deref mode (never, searching, finding, always)

ldap_deref_mode=always

 

#  Set this to 'true' if you want to use admin_dn to get user attributes

#  If any other value is set, user_dn will be used

ldap_use_admin_to_get_attrs=true

 

# Ldap-password synchronization to OM DB

#  Set this to 'true' if you want OM to synchronize the user Ldap-password to 
OM's internal DB

#  If you want to disable the feature, set this to any other string.

#  Defautl value is 'true'

ldap_sync_password_to_om=true

 

# Ldap user attributes mapping

# Set the following internal OM user attributes to their corresponding 
Ldap-attribute

ldap_user_attr_lastname=sn

ldap_user_attr_firstname=givenName

ldap_user_attr_mail=mail

ldap_user_attr_street=streetAddress

ldap_user_attr_additionalname=description

ldap_user_attr_fax=facsimileTelephoneNumber

ldap_user_attr_zip=postalCode

ldap_user_attr_country=co

ldap_user_attr_town=l

ldap_user_attr_phone=telephoneNumber

 

# optional, only absolute URLs make sense

#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

 

 

Mit freundlichen Grüßen / With kind regards
i. A. Edgar Giese

NORKA 
Norddeutsche Kunststoff- und Elektrogesellschaft Stäcker mbH & Co. KG

Lange Straße 1 * 27313 Dörverden-Hülsen
Tel.: +49 4239 9300-203 * Fax.: +49 4239 9300-99 
E-Mail: [email protected] * Internet: www.norka.de <http://www.norka.de/>  

 

Sitz der Gesellschaft: Dörverden-Hülsen, Amtsgericht Walsrode HRA 121059
persönlich haftende Gesellschafterin: NORKA Verwaltungs GmbH, Amtsgericht 
Walsrode HRB 121601
Geschäftsführer: Dr.-Ing. Norbert Höbing, Dipl.-Ing. (FH) Martin C. Stäcker

 

Reply via email to