hola, i hope theres no misunderstanding by using configval "field_user_principal" : the value of this configkey should be literally "userPrincipalName", and NOT "[email protected]", e.g.
heres a config, that works for me with Active Directory : #LDAP URL ldap_conn_url=ldap://dc2.medint.local:389 #Login distinguished name (DN) for Authentification on LDAP Server - keep emtpy if not requiered ldap_admin_dn=CN:dummy,OU:external users,OU:Other,DC:medint,DC:local #Loginpass for Authentification on LDAP Server - keep emtpy if not requiered ldap_passwd=dummy #base to search for userdata(of user, that wants to login ldap_search_base=OU:Company,DC:medint,DC:local # Fieldnames (can differ between Ldap servers) field_user_principal=userPrincipalName # Ldap auth type(SIMPLE,NONE) ldap_auth_type=SIMPLE the only thing i replaced is adminuser and his password.... see ya Smoeker On 30 Jun., 10:06, bidab <[email protected]> wrote: > Hi, > > 1- In post I wrote with "=" but in file it's with ":" so that's ok. > > 2- You said Active Directory field_user_principal = userPrincipalname > by default > It's what I wrote, I test with samaccountname too but does'nt > function... > > 3- I use the java file you gave me for Ldap in 0.7rc1 : > -> In rootdn I have the same things that in ldap_admin_dn > -> My password is the same > -----> Connection is ok > > 4- Moreover my ldap_search base is the same that in 0.7rc1... > > 5- To login, when I try with "ibolzer", I have this error : > > Authentification on LDAP Server failed : [LDAP: error code 49 - > 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext > error, data 525, vece] > > When I try with "[email protected]", error log says > "[email protected]" does'nt exist... > > Any suggestions ? > > Bidan > > On Jun 30, 7:41 am, smoeker <[email protected]> wrote: > > > > > hola bidab, > > > the configval field_user_principal is used for openLdap compatibility > > and represents the fieldname of your loginname within your AD/ > > openLdap , means : > > > -> using Active Directory field_user_principal = userPrincipalname by > > default > > -> using openLdap field_user_principal = uid by default > > > check your LDAP Server for the required field and write it into config > > here.... > > > the configval ldap_admin_dn seems ok , but u should use the CN:Ivan > > BOLZER, DN:******, > > DC:******* syntax , escaping the "=".... > > > -> ibolzer or [email protected] doesnt depend on your > > openMeetings version, but your LDAP Server... > > > see ya > > > Smoeker > > > On 29 Jun., 17:15, bidab <[email protected]> wrote: > > > > Hi, > > > > I want to use LDAP connection. Before I use 0.7rc2 so I take my last > > > configuration and adapt it to the new version of OM but connection > > > does'nt function. > > > This is the error : > > > > DEBUG 06-29 17:09:18.158 LdapLoginManagement.java 63058 147 > > > org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - > > > LdapLoginmanagement.readConfig : /home/ivan/Bureau/OM/webapps/ > > > openmeetings/conf/om_ldap.cfg > > > DEBUG 06-29 17:09:18.164 LdapLoginManagement.java 63064 76 > > > org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - > > > isValidAuthType > > > DEBUG 06-29 17:09:18.175 LdapLoginManagement.java 63075 217 > > > org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - > > > Searching userdata with LDAP Search Filter : > > > ([email protected]=ibolzer) > > > DEBUG 06-29 17:09:18.177 LdapAuthBase.java 63077 64 > > > org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - > > > LdapAuthBase > > > DEBUG 06-29 17:09:18.177 LdapAuthBase.java 63077 81 > > > org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - > > > authenticateUser > > > DEBUG 06-29 17:09:18.178 LdapAuthBase.java 63078 97 > > > org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - > > > Authentification to LDAP - Server start > > > DEBUG 06-29 17:09:18.178 LdapAuthBase.java 63078 129 > > > org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - > > > loginToLdapServer > > > ERROR 06-29 17:09:18.284 LdapAuthBase.java 63184 103 > > > org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - > > > Authentification on LDAP Server failed : [LDAP: error code 49 - > > > 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext > > > error, data 525, vece] > > > > In the field, ldap_admin_dn, I wrote : CN=Ivan BOLZER, DN=******, > > > DC=******* > > > > Is is the good syntax ? > > > > For the field, I made like this : > > > [email protected] > > > > Is is good ? > > > > To log into OM, in the login: i must write "ibolzer" or > > > "[email protected]" like 0.7rc2 ? > > > > Thank's, > > > > Bidab- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
