Salut,

Do you want to connect to AD or openLdap ?

For me the problem was solve to change these parameters (userprincipalname
end LDAP_AUTH_TYPE_NONE) in the LdapLoginManagement.java class :

                // Filter for Search of UserData^M
                //String ldap_search_filter = "(userPrincipalName=" + user +
")";                   --> don't work with OpenLdap
                String ldap_search_filter = "(uid=" + user + ")";
                // replace : -> in config = are replaced by : to be able to
build valid key=value pairs
                ldap_login_base = ldap_login_base.replaceAll(":", "=");
                ldap_search_scope = ldap_search_scope.replaceAll(":", "=");

                LdapAuthBase lAuth = new LdapAuthBase(ldap_url, ldap_admin,
ldap_passwd, ldap_login_base, LdapAuthBase.LDAP_AUTH_TYPE_NONE);

In OpenLdap, I don't have any parameter 'userPrincipalName' !
This parameter exist in windows AD but not in openldap...

When i try with Ldap_auth_type in SIMPLE mod, I've the same problem like
you.

Alex

2009/3/9 [email protected] <[email protected]>

>
> hi,
> i  found some explanation on ldap configuration but i always the same
> problem with a blank organization after the first test to login.
>
> in log file i found :
> [pool-4-thread-16] ERROR o.o.app.data.user.Usermanagement -
> LdapLoginManagement.java 25344 196
> org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] -
> Error on LdapAuth : null
> and so , after this User_ID doesnt exist ..
>
>
> ok i tried to re-configurate om_ldap.cnf but i cant see where is the
> problem in my conf.
>
>
> with ldapsearch is working fine with this configuration , but with
> openmeetings i cant see ...any help please ?
>
>
> this is my om_ldap.cnf
>
> #LDAP URL
> ldap_conn_url=ldap://www.XXXXXXXX.fr:389 <http://www.xxxxxxxx.fr:389/>
>
> #Loginname for Authentification on LDAP Server - keep emtpy if not
> requiered
> ldap_admin=
>
> #Loginpass for Authentification on LDAP Server - keep emtpy if not
> requiered
> ldap_passwd=
>
> #LDAP URL, where ldap_admin can be found
> ldap_login_base=ou:autres,o:gouv,c:fr
>
> #base to search for userdata(of user, that wants to login
> ldap_search_base=OU:ac-amiens,OU:education,o:gouv,c:fr
>
>
> thank you
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to