Hi, If it's any help, this is the om_ldap.cfg file that I'm using with OM 3.0.3:
---------------- ldap_conn_host=myserver.mydomain # I use the Global Catalog Port (3268) instead of the AD port (389) for avoid ldap referals. Myserver has to be the # global catalog server. ldap_conn_port=3268 ldap_conn_secure=false ldap_admin_dn=cn=myuser,cn=Users,dc=mycompany,dc=domain ldap_passwd=myuser_password ldap_search_base=DC=mycompany,DC=mydomain # Only users of group "mygroup" can login in OM. ldap_search_query=(&(memberof=CN=mygroup,CN=Users,DC=mycompany,DC=mydomain)(samaccountname=%s)) #If you want that all users can do it #ldap_search_query=(samaccountname=%s) #My users are store in different branch of the AD Tree, so I search them from the ldap_search_base: ldap_search_scope=SUBTREE ldap_auth_type=SEARCHANDBIND ldap_provisionning=AUTOCREATE ldap_use_admin_to_get_attrs=true ldap_sync_password_to_om=true 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 ldap_use_lower_case=false ------------------------------ 2014-07-23 15:21 GMT+01:00 Maxim Solodovnik <[email protected]>: > README, etc files will be modified during release process :) > The version is displayed in "About" dialog and in log/openmeetings.log file > log/openmeetings.log file also contains all LDAP related logs > > I'm not sure what is your AD config, will try to help you next week :) > > > On 23 July 2014 21:15, Grégory Mangeney <[email protected]> wrote: >> >> Hello Maxim. >> Thanks for your answer. >> I tryed to upgrade with the 3.0.3. >> Is it normal that in "about" in the panel, it still 3.0.2? >> >> In fact, the config file has change. >> I do not success to connect and I dont know where I could read the log >> file to see the result of my modification in the logback-config.xml. >> >> I think I will work on it next week because I'm little bit busy at the >> moment but maybe I will wait a new stable version ans work with local >> database for the moment because I couldn't spend too much time if the actual >> version is in developpement. >> >> Thanks a lot >> >> Best regards >> Greg. >> >> >> 2014-07-23 12:30 GMT+02:00 Maxim Solodovnik <[email protected]>: >>> >>> Hello Greg, >>> >>> could you please try 3.0.3? Work with LDAP/AD was reimplemented >>> 3.0.3 can be taken from here >>> https://builds.apache.org/view/M-R/view/OpenMeetings/job/Openmeetings%203.0.x/ >>> then you can enable debug messages to better dignose what is wrong: >>> >>> open webapps/openmeetings/WEB-INF/classes/logback-config.xml >>> change >>> <logger name="org.apache.directory" level="INFO"/> >>> to be >>> <logger name="org.apache.directory" level="DEBUG"/> >>> >>> Hope this version will work better :) >>> >>> Please NOTE config file has been changes, please review example bundled >>> >>> >>> On 23 July 2014 17:19, Grégory Mangeney <[email protected]> wrote: >>>> >>>> Hello, >>>> I tryed to link my AD with OM but I always have the login screen shaking >>>> to said me "no it doesn't work". >>>> >>>> I think I make all good but it would'nt connect with an AD user. >>>> I could not understand what is the problem. >>>> >>>> I made an upgrade of OM whitch I installed in V2.0 with a live CD. >>>> Now I'm in V3.0.2 >>>> >>>> I set an LDAP config in the panel with relative link to >>>> '/usr/lib/red5/webapps/openmeetings/conf/om_ldap.cfg'. >>>> >>>> In the login screen I coul choose my domaine >>>> >>>> I have an Exchange in Version 2008. >>>> >>>> Here is the contain of my conf file: >>>> >>>> ldap_server_type=AD >>>> >>>> >>>> >>>> >>>> ldap_conn_url=ldap://MY_AD_IP:389 >>>> ldap_admin_dn=CN:adconnect,OU:comptes Cles,OU:Services,OU:my >>>> company,DC:domain,DC:com >>>> >>>> >>>> >>>> >>>> ldap_passwd=adconnectpasswd >>>> >>>> ldap_search_base=DC:domain,DC:com >>>> >>>> field_user_principal=userPrincipalName >>>> >>>> ldap_auth_type=SIMPLE >>>> >>>> ldap_sync_password_to_om=no >>>> >>>> >>>> Could you see an error in my conf file for AD? >>>> Is it any way to get error log durring attempt to connect for helping me >>>> to find why it couldn't work? With log file? where find it? >>>> >>>> >>>> >>>> >>>> >>>> Thanks a lot. >>>> >>>> Best Regards >>>> Greg. >>>> >>>> >>>> >>> >>> >>> >>> -- >>> WBR >>> Maxim aka solomax >> >> > > > > -- > WBR > Maxim aka solomax
