Oliver, could you please chime in on this? I have tested the other org.xmlcrm.utils.crypt.MD5CryptImplementation & this fails on install of the OM. Tons of errors looking like it can't talk to the DB.
I have also tried changing the users pw encryption style to MD5 in the LDAP DB but this achieves nothing. I believe LDAP is storing the pw info in {crypt} by default on the openldap setup I have. I do see it auth to using the ldap_admin DN but when it tries to test the user auth after retrieving the information from LDAP, it fails with the invalid creditals error. The only thing I can see this possibly pointing to at this point is the encryption style possibly or the way OM is talking to LDAP possibly? Not sure what direction to go now. I have tested all kinds of different ways here. Anyone else have a working OPENLDAP setup using OM with SIMPLE auth enable? John- On 10/14/2009 01:49 PM, Sebastian Wagner wrote: > hi, > > when the problem is that you need to crypt your password with > unix_like crypt then I would suggest you look in the installation (or > configuration) there is this config_param where you can change the > crypt algorithm from MD5 to unix_styled crypt. > But I better would test that with a fresh install, once your passwords > are MD5 crypted in the database you cannot switch that to another > crypt mechanism at runtime. > > For direct LDAP logic oliver might give you more info, as he has build > this module. > > sebastian > > 2009/10/14 John Gisler <pcm...@gmail.com <mailto:pcm...@gmail.com>> > > > I think this might be a crypt problem. > > It does auth for the Manager DN but when it checks the users login > info > it fails the credentials. Looking at the openldap I have setup, it > looks > to be using {crypt} not MD5. > > Sebastian, any ideas or directions to look in? > > John- > > On 10/14/2009 11:33 AM, prashant wrote: > > I think i spoke too soon of my problem. > > I could use my users listed in openldap for login. > > > > i used the following om_ldap.cfg > > ldap_conn_url=ldap://myserver.net:389 <http://myserver.net:389> > > ldap_admin_dn=uid:admin,ou:people,dc:myserver,dc:net > > ldap_passwd=mypwd > > ldap_search_base=ou:people,dc:myserver,dc:net > > field_user_principal=uid > > ldap_auth_type=NONE > > > > the problem now faced is that if a user is listed in ldap then > he/she > > can login even if incorrect password is used. > > > > ~prashant > > > > > > On Oct 14, 10:03 pm, prashant<prashantm....@gmail.com > <mailto:prashantm....@gmail.com>> wrote: > > > >> Thanks to Abdul for sending the code. I do not have development > >> environment. I cannot test out the code. If it works correctly then > >> let it be added to the trunk. > >> My problem is of using openmeetings with openldap. I wish to use > >> openmeetings in a production environment by next week. > >> The application is amazing. Thanks to all contributors for this > >> wonderful creation. > >> > >> my error is the similar as others have reported (as found from > google > >> searches). While trying to login error on console says > >> ERROR 10-14 22:02:55.384 LdapAuthBase.java 669828 103 > >> org.openmeetings.app.data.user.Usermanagement [NioProcessor-1] - > >> Authentification on LDAP Server failed : [LDAP: error code 34 - > >> invalid DN] > >> > >> om_ldap.cfg says > >> ldap_conn_url=ldap://myserver.net:389 <http://myserver.net:389> > >> ldap_admin_dn=uid:admin,ou:people,dc:myserver,dc:net > >> ldap_passwd=mypwd > >> ldap_search_base=ou:people,dc:myserver,dc:net > >> field_user_principal=uid > >> ldap_auth_type=SIMPLE > >> > >> alternately i tried changed the DN syntax that I use in other > >> applications as follows which gave a similar error message > >> ldap_conn_url=ldap://myserver.net:389 <http://myserver.net:389> > >> ldap_admin_dn=uid=admin,ou=people,dc=myserver,dc=net > >> ldap_passwd=mypwd > >> ldap_search_base=ou=people,dc=myserver,dc=net > >> field_user_principal=uid > >> ldap_auth_type=SIMPLE > >> > >> ERROR 10-14 22:15:08.387 LdapAuthBase.java 1402831 103 > >> org.openmeetings.app.data.user.Usermanagement [NioProcessor-1] - > >> Authentification on LDAP Server failed : [LDAP: error code 34 - > >> invalid DN] > >> > >> I have been using the DN as > uid=admin,ou=people,dc=myserver,dc=net for > >> other applications like openfire (xmpp jabber instant messenger). > >> i could not find use of colon punctuation ":" as part of a valid DN > >> syntax in openldap. > >> > >> Have the core developers tried using openmeetings with openldap? > >> Please share your experience. > >> > >> ~prashant > >> > >> On Oct 7, 4:10 am, John Gisler<pcm...@gmail.com > <mailto:pcm...@gmail.com>> wrote: > >> > >> > >>> Thanks for your patched LdapLoginManagement.java > >>> > >> > >>> I have tried applying this& I'm still having issues with the LDAP > >>> authenticating properly. > >>> > >> > >>> Your paste of the code here is truncated. Could you possible > attach it > >>> as an attachment. I have gone through it& removed the wrapped > lines but > >>> it still isn't working correctly. > >>> > >> > >>> Are there any changes that need to happen in the om_ldap.cfg > file to use > >>> this modified code? > >>> > >> > >>> I will confirm that LDAP Auth NONE setting does just check > UID& the > >>> password doesn't matter. > >>> > >> > >>> John- > >>> > >> > >>> On 09/29/2009 02:20 AM, Abdul Rehman Nizamani wrote: > >>> > >> > >>>> To All, > >>>> > >> > >>>> We at Ibn Khaldun Systems has successfully fixed the issue > associated > >>>> withOpenLDAPauthentication in Openmeetings, below is the code > >>>> listing of modified LdapLoginManagement.java file: > >>>> > > > > > > > > > > > > -- > Sebastian Wagner > http://www.webbase-design.de > http://openmeetings.googlecode.com > http://www.laszlo-forum.de > seba.wag...@gmail.com <mailto:seba.wag...@gmail.com> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. To post to this group, send email to openmeetings-user@googlegroups.com To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en -~----------~----~----~----~------~----~------~--~---