[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15795164#comment-15795164
 ] 

Pavel.Krasnousov commented on OPENMEETINGS-1116:
------------------------------------------------

Hi all,
OM ver 3.1.3
Here is my conf

ldap_server_type=AD
ldap_conn_host=192.168.0.9
ldap_conn_port=389
ldap_conn_secure=false

# Use full qualified LDAP DN
ldap_admin_dn=CN=admin,CN=Users,DC=ES,DC=local

# 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=CN=Employees,DC=ES,DC=local

# Fieldnames (can differ between Ldap servers) 
ldap_search_query=(userPrincipalName=%1$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=userPrincipalName=%s,CN=Employees,DC=ES,DC=local

# 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 group mode (NONE, ATTRIBUTE, QUERY)
# NONE means group associations will be ignored
# ATTRIBUTE means group associations will be taken from 'ldap_group_attr' 
attribute (M$ AD mode)
# QUERY means group associations will be taken as a result of 
'ldap_group_query' query
ldap_group_mode=NONE

ldap_group_query=(&(memberUid=%s)(objectClass=posixGroup))

# Ldap user attributes mapping
# Set the following internal OM user attributes to their corresponding 
Ldap-attribute
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

# Ldap import query, this query should retrieve all LDAP users
ldap_import_query=(objectClass=inetOrgPerson)

And I have the same error 

DEBUG 12-26 15:21:27.314 o.a.o.c.l.LdapLoginManagement:168 
[http-nio-0.0.0.0-5080-exec-6] - LdapLoginmanagement.doLdapLogin
ERROR 12-26 15:21:27.352 o.a.o.c.l.LdapLoginManagement:215 
[http-nio-0.0.0.0-5080-exec-6] - NONE users found in LDAP

Any suggestions?


> Problem with OM 3.0.3 (on centos6) connect AD 2008!!
> ----------------------------------------------------
>
>                 Key: OPENMEETINGS-1116
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1116
>             Project: Openmeetings
>          Issue Type: Improvement
>          Components: LDAP
>    Affects Versions: 3.0.3
>            Reporter: Tanv
>            Assignee: Maxim Solodovnik
>             Fix For: 3.0.3
>
>
> Hi, 
> I have installed OM 3.0.3 on Centos6 and i try  connect to Active Directory 
> window 2008, but it don't work.
> My " om_ldap.cfg":
> ldap_conn_host=2...
> ldap_conn_port=389
> ldap_conn_secure=false
> ldap_admin_dn=CN:Administrator,CN:Users,DC:AD,DC:vn
> ldap_passwd=*****
> ldap_search_base=OU:All Users,DC:AD,DC:vn
> ldap_search_query=(uid=%s)
> ldap_search_scope=ONELEVEL
> ldap_auth_type=NONE
> The path to Config file name: 
> /openmeetings/webapps/openmeetings/conf/om_ldap.cfg
> There is log When i try login by user domain AD:
> DEBUG 11-12 14:12:41.049 o.a.o.l.LdapLoginManagement:165 
> [http-nio-0.0.0.0-5080-exec-1] - LdapLoginmanagement.doLdapLogin
> ERROR 11-12 14:12:41.052 o.a.o.l.LdapLoginManagement:174 
> [http-nio-0.0.0.0-5080-exec-1] - Error on LdapLogin : Configurationdata 
> couldnt be retrieved!
> DEBUG 11-12 14:12:41.052 o.a.w.u.c.CookieUtils:266 
> [http-nio-0.0.0.0-5080-exec-1] - Unable to find Cookie with name=LoggedIn and 
> request URI=signin?0-1.IBehaviorListener.2-signin
> DEBUG 11-12 14:12:41.052 o.a.w.u.c.CookieUtils:266 
> [http-nio-0.0.0.0-5080-exec-1] - Unable to find Cookie with name=LoggedIn and 
> request URI=signin?0-1.IBehaviorListener.2-signin
> DEBUG 11-12 14:12:41.053 o.a.wicket.Page:871 [http-nio-0.0.0.0-5080-exec-1] - 
> ending request for page [Page class = 
> org.apache.openmeetings.web.pages.auth.SignInPage, id = 0, render count = 1], 
> request org.apache.wicket.protocol.http.servlet.ServletWebRequest@61bb6229
> DEBUG 11-12 14:12:41.054 o.a.wicket.Page:871 [http-nio-0.0.0.0-5080-exec-1] - 
> ending request for page [Page class = 
> org.apache.openmeetings.web.pages.auth.SignInPage, id = 0, render count = 1], 
> request org.apache.wicket.protocol.http.servlet.ServletWebRequest@61bb6229
> DEBUG 11-12 14:12:41.059 o.a.w.p.AsynchronousDataStore$PageSavingRunnable:354 
> [Wicket-PageSavingThread] - Saving asynchronously: Entry 
> [sessionId=F6E0A7E1527067A33E903CCCF4B46DA0, pageId=0]...
> Pls help me fix it.
> Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to