Re: Openmeetings and Openldap

2009-03-20 Thread bidab
Hi, I finish my french version of my tutorial. This week-end I translate it in english if you want. How I made to update it into OM google site ? Thanks. On Mar 20, 2:33 pm, smoeker wrote: > sure! > > On 20 Mrz., 14:24, bidab wrote: > > > It's OK ! > > > In fact, in ldap_admin, it's n

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
For the moment, it's in french, but during this week-end I think I could translate it in english. On Mar 20, 2:33 pm, smoeker wrote: > sure! > > On 20 Mrz., 14:24, bidab wrote: > > > It's OK ! > > > In fact, in ldap_admin, it's not JDoe but John Doe > > > Thanks very much for you

Re: Openmeetings and Openldap

2009-03-20 Thread smoeker
sure! On 20 Mrz., 14:24, bidab wrote: > It's OK ! > > In fact, in ldap_admin, it's not JDoe but John Doe > > Thanks very much for you help. > If you want, I created a tutorial for openmeetings installation in > ubuntu 8.10 whitm smtp and ldap. > Are interested to upload it on openme

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
It's OK ! In fact, in ldap_admin, it's not JDoe but John Doe Thanks very much for you help. If you want, I created a tutorial for openmeetings installation in ubuntu 8.10 whitm smtp and ldap. Are interested to upload it on openmeetings site ? Thanks On Mar 20, 2:05 pm, bidab wrot

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
Hi, It's better. I test MakeRoot on my virtualcomputer, I must replace my LDAP_HOST_NAME by IP and now I have an other error. [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece om_ldap.cfg: ldap_conn_url=ldap://192.168.0.1:389 ldap_adm

Re: Openmeetings and Openldap

2009-03-20 Thread smoeker
lol ;-) any logmessages? On 20 Mrz., 12:48, bidab wrote: > no > > On Mar 20, 12:43 pm, smoeker wrote: > > > > > it works? > > > On 20 Mrz., 12:17, bidab wrote: > > > > Hi, > > > > My UserPrincipalAccount is j...@om.local > > > My CN is John Doe > > > My SamAccountName is JDoe. > > > My LD

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
no On Mar 20, 12:43 pm, smoeker wrote: > it works? > > On 20 Mrz., 12:17, bidab wrote: > > > Hi, > > > My UserPrincipalAccount is j...@om.local > > My CN is John Doe > > My SamAccountName is JDoe. > > My LDAP server name is toto. > > > So in om_ldap.cfg, I put: > > > ldap_conn_url=ldap://to

Re: Openmeetings and Openldap

2009-03-20 Thread smoeker
it works? On 20 Mrz., 12:17, bidab wrote: > Hi, > > My UserPrincipalAccount is j...@om.local > My CN is John Doe > My SamAccountName is JDoe. > My LDAP server name is toto. > > So in om_ldap.cfg, I put: > > ldap_conn_url=ldap://toto:389 > ldap_admin=JDoe and j...@om.local ( I try this two soluti

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
Hi, My UserPrincipalAccount is j...@om.local My CN is John Doe My SamAccountName is JDoe. My LDAP server name is toto. So in om_ldap.cfg, I put: ldap_conn_url=ldap://toto:389 ldap_admin=JDoe and j...@om.local ( I try this two solutions) ldap_passwd=greatpassword ldap_login_base=OU:Unit1,OU:Unit

Re: Openmeetings and Openldap

2009-03-20 Thread smoeker
howdy, heres a config i use with active directory : #LDAP URL ldap_conn_url=ldap://LDAP_HOST_NAME:389 #Loginname for Authentification on LDAP Server - keep emtpy if not requiered ldap_admin=dummy #Loginpass for Authentification on LDAP Server - keep emtpy if not requiered ldap_passwd=dummy07

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
An other precision...to connect in OM I try like this login : OM\jdoe passwd: greatpassword AND like this login : j...@om.local passwd: greatpassword But it does not function On Mar 20, 10:55 am, bidab wrote: > Hi, > > OK, I made an exemple. > > in the snippet, I put > > final static S

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
Hi, OK, I made an exemple. in the snippet, I put final static String ldapServerName = "greatserver"; final static String rootdn = "CN=John DOE,OU=Unit1,OU=Unit2,DC=OM,DC=local"; final static String rootpass = "greatpassword"; final static String rootContext = "OU=Unit1,OU=Unit2,DC=OM,

Re: Openmeetings and Openldap

2009-03-20 Thread smoeker
hi, the creation of the subcontext isnt important, but if u receive no other error, the bind to the Ldap Server was successful! -> the code within openMeetings is very similiar to the snippet... did u comapre the values from om_ldap.cfg with the ones u set within the snippet? see ay Smoeker

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
However, when I comment //ctx.createSubcontext ( rootContext ); I have no error...just blank On Mar 20, 10:15 am, bidab wrote: > Hi Olivier, > > It's me, again > > I try your MakeRoot file into Eclipse on Windows but I have one error: > > javax.naming.directory.NoSuchAtt

Re: Openmeetings and Openldap

2009-03-20 Thread bidab
Hi Olivier, It's me, again I try your MakeRoot file into Eclipse on Windows but I have one error: javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 - 0057: LdapErr: DSID-0C090B38, comment: Error in attribute conversion operation, data 0, vece What's the problem ? if

Re: Openmeetings and Openldap

2009-03-19 Thread smoeker
hi , indeed it seems as if the java standard libraries arent on your classpath. Due to the fact, that javac was found, the JAVA_HOME is set correct, but u either have to set global CLASSPATH pointing to the lib folder of your JDK or alternatively set it by javac -cp "" -> u receive help on file

Re: Openmeetings and Openldap

2009-03-19 Thread bidab
Hi ! I try your Makeroot file but I have 9 errors. r...@ivan-desktop:~/Bureau# javac MakeRoot.java MakeRoot.java:7: cannot find symbol symbol : class Properties location: class MakeRoot Properties env = new Properties(); ^ MakeRoot.java:7: cannot find symbol symbol

Re: Openmeetings and Openldap

2009-03-19 Thread smoeker
hi, maybe your active directory doesnt requiere Admin Authentication at all - that means : try to let the admin config vals emtpy (admin username and admin passwd) within om_ldap.cfg... see ay Smoeker On 19 Mrz., 11:51, bidab wrote: > Hi, > > Sorry I forgot to precise that I don't use open

Re: Openmeetings and Openldap

2009-03-19 Thread bidab
; > > >                         System.err.println( "value has already been > > > > > bound!" > > > > > > ); > > > > > >                 } catch ( Exception e ) { > > > > > >                         System.err.

Re: Openmeetings and Openldap

2009-03-17 Thread alex LUCAS
t; > > > And I have a new entry in the LDAP tree so It works :-) > > > > > And I agree that the openmeetings code is very similar to this > > > > testClass... > > > > > So I really don't understand why OM auth bl

Re: Openmeetings and Openldap

2009-03-17 Thread bidab
nd: > > > > invalid dn (myUser)"... :'( > > > > > see ya > > > > > Alex > > > > > 2009/3/4 Oliver Becherer > > > > > > Hola, > > > > > > yo - you could additionally add a success message

Re: Openmeetings and Openldap

2009-03-06 Thread smoeker
ld additionally add a success message to be 100% sure, but > > it > > > > seems, as if it was working... > > > > > unfortunately this code is very similar to the one used within > > openMeetings > > > > ;-) > > > > > hmmm... > >

Re: Openmeetings and Openldap

2009-03-05 Thread alex LUCAS
t; > > see ya > > > > > Mit freundlichen Grüßen / with kind regards > > > > > Oliver Becherer > > > lcs information systems > > > > > Geschäftsführer / CEO: Christian Hieronimi | Handelsregistergericht > > > Augsburg | HRB 14835 |

Re: Openmeetings and Openldap

2009-03-05 Thread smoeker
vileged. The message is intended solely > > for the addressee(s). If you are not the intended recipient, you are hereby > > notified that any use, dissemination, or reproduction is strictly prohibited > > and may be unlawful. If you are not the intended recipient, please contact >

Re: Openmeetings and Openldap

2009-03-05 Thread alex LUCAS
, please contact > the sender by return e-mail and destroy all copies of the original message. > > -Ursprüngliche Nachricht- > Von: openmeetings-user@googlegroups.com [mailto: > openmeetings-u...@googlegroups.com] Im Auftrag von alex LUCAS > Gesendet: Mittwoch, 4. Mär

AW: Openmeetings and Openldap

2009-03-04 Thread Oliver Becherer
tings-user@googlegroups.com Betreff: Re: Openmeetings and Openldap Ok ! If I test with this code : public class MakeRoot { final static String ldapServerName = "localhost"; final static String rootdn = "cn=manager,dc=example,dc=fr";

Re: Openmeetings and Openldap

2009-03-04 Thread alex LUCAS
Ok ! If I test with this code : public class MakeRoot { final static String ldapServerName = "localhost"; final static String rootdn = "cn=manager,dc=example,dc=fr"; final static String rootpass = "secret"; final static String rootContext = "dc=example,dc=fr";

Re: Openmeetings and Openldap

2009-03-04 Thread smoeker
no prob... -> u dont need any additional lib, so you can run it easily from commandline -> put a file named MakeRoot.java anywhere on your filesystem (the name of the file must be identical to the classname!) -> type "javac MakeRoot.java" -> watch out for compilation errors - if no message is sh

Re: Openmeetings and Openldap

2009-03-04 Thread alex LUCAS
Excuse me but I'm a newbie in java :-s Coul'd you tell me how to use your class ? For the moment I've create a new Java file in the same directory of de LdapAuthBase.java Great thanks. ALex 2009/3/4 smoeker > > kay, > > by the way - u shoul uncomment the > > ctx.createSubcontext( rootCon

Re: Openmeetings and Openldap

2009-03-04 Thread smoeker
kay, by the way - u shoul uncomment the ctx.createSubcontext( rootContext ); part of the script - it would create a new Folder in your LDAP, what would not be requiered ;-)) seeya Smoeker On 4 Mrz., 11:53, alex LUCAS wrote: > Thanks a lot I will test. > > :) I've already try to set ldap_au

Re: Openmeetings and Openldap

2009-03-04 Thread alex LUCAS
Thanks a lot I will test. :) I've already try to set ldap_auth-type from simple to none, but after I've an other error when openmeetings try to find the user in the Ldap Tree... Alex 2009/3/4 smoeker > > hi alex, > > i would recommend to try it with a small client to reduce the overhead > of com

Re: Openmeetings and Openldap

2009-03-04 Thread smoeker
hi alex, i would recommend to try it with a small client to reduce the overhead of compiling and deploying openMeetings for each try (unfortunately, the ldap messages arent very helpful due to security reasons ;-)) u could take the following snippet, based on the javax.naming classes we also use

Re: Openmeetings and Openldap

2009-03-04 Thread alex LUCAS
thanks for your help. I've just try to exchange "CN=" by "cn=" in the LdapAuthBase.java. But nothing change. openmeetings log : loginToLdapServer CONTEXT_FACTORY : com.sun.jndi.ldap.LdapCtxFactory ldap_connection_url : ldap://172.28.32.204:389 ldap_auth_type : simple dn : cn=manager,dc=example,

Re: Openmeetings and Openldap

2009-03-04 Thread smoeker
hi alex, the invalid DN messages seems to have a bundle of possible reasons : Error: Error in bind from LDAP source: [LDAP: error code 34 - invalid DN] javax.naming.InvalidNameException Cause: This is caused by a bad prefix specified in the Settings tab, on most LDAP/AD systems. This could mean

Re: Openmeetings and Openldap

2009-03-04 Thread alex LUCAS
Hi Smoeker, Sorry for the delay. I've just installed a new LDAP test server on the OM. But it don't work :(. Here My LDAP Tree : ###BEGIN LDIF dn: dc=example,dc=fr dc: example objectClass: dcObject objectClass: organization o: Example Company dn: cn=manager, dc=example,dc=fr objectClass

Re: Openmeetings and Openldap

2009-02-27 Thread smoeker
hi alex, please let me know, if it works, and what changes u made on directory structure ( OM Ldap auth should work with any directory structure). see ya Smoeker On 26 Feb., 12:05, alex LUCAS wrote: > Hi Smoeker, > The problem is still present :-( > > Yes I've saw the loginToLdapServer() fun

Re: Openmeetings and Openldap

2009-02-26 Thread alex LUCAS
Hi Smoeker, The problem is still present :-( Yes I've saw the loginToLdapServer() function in the LdapAuthBase.java classe in the sources. And it's this fonction that makes me think that my om_ldap.cfg setup is good... Now I'm trying to install a new openLdap server on the same OM server with a

Re: Openmeetings and Openldap

2009-02-26 Thread smoeker
hola, did it work meanwhile? here are some facts that may be useful for u : Within OM the javax.naming classes are used for the Ldap Login. -> the "admin" login is built in the following way : String dn = "CN=" + ldap_admin + "," + ldap_login_base; env.put(Context.INITIAL_CONTEXT_FACTORY, CO

Re: Openmeetings and Openldap

2009-02-25 Thread smoeker
hmmm, sorry - didnt read the post complete ;-) when "Manager" is the userPrincipalName of the admin, your configuration was correct, so the problem could be somewhere else... -> Ldap works fine with my Active Directory ( and i also already have the feedback of another OM user using the Ldap Au

Re: Openmeetings and Openldap

2009-02-25 Thread smoeker
hi, you have to configure ldap_login_base=cn:Manager,o:MyOrganization -> please note, that you have to replace "cn=Manager,o=MyOrganization", by "cn:Manager,o:MyOrganization" to keep the config valid with one "=" (the DNs from the config are replaced in code again to "cn=Manager,o=MyOrganizatio

Re: Openmeetings and Openldap

2009-02-25 Thread alex LUCAS
Hi, Thx for your interest. The complete DN of the ldap admin is in LDAP : dn : cn=Manager,o=MyOrganization And in the om_ldap.cfg : ldap_admin=Manager ldap_login_base=o:MyOrganization 2009/2/25 smoeker > > hi, > > whats the complete DN of the configured admin user > (ldap_admin=LdapAdmin > )

Re: Openmeetings and Openldap

2009-02-25 Thread smoeker
hi, whats the complete DN of the configured admin user (ldap_admin=LdapAdmin ) himself? see ya Smoeker On 25 Feb., 09:05, alex LUCAS wrote: > The message makes no sense, because the same couple Login/password works > with CAS. > > 2009/2/24 Kunthar > > > > > > > it explains itself? > > what

Re: Openmeetings and Openldap

2009-02-25 Thread alex LUCAS
The message makes no sense, because the same couple Login/password works with CAS. 2009/2/24 Kunthar > > it explains itself? > what else you need? > > > On Tue, Feb 24, 2009 at 9:41 PM, alex LUCAS > wrote: > > Red5 log : > > # 2009-02-24 16:52:00,705 [pool-4-thread-16] ERROR > > o.o.app.data.

Re: Openmeetings and Openldap

2009-02-25 Thread smoeker
hi, the config params ldap_admin=LdapAdmin ldap_passwd=password ldap_login_base=o:MyOrganization must work together for authentification on the server itself - user LdapAdmin must be found within ldap_login_base, maybe you could try to let the ldap_login_base point directly to the LDAP DN, that

Re: Openmeetings and Openldap

2009-02-24 Thread Kunthar
it explains itself? what else you need? On Tue, Feb 24, 2009 at 9:41 PM, alex LUCAS wrote: > Red5 log : > # 2009-02-24 16:52:00,705 [pool-4-thread-16] ERROR > o.o.app.data.user.Usermanagement - LdapAuthBase.java > # 27984246 103 org.openmeetings.app.data.user.Usermanagement > [pool-4-thread-16]

Re: Openmeetings and Openldap

2009-02-24 Thread alex LUCAS
Red5 log : # 2009-02-24 16:52:00,705 [pool-4-thread-16] ERROR o.o.app.data.user.Usermanagement - LdapAuthBase.java # 27984246 103 org.openmeetings.app.data.user.Usermanagement [pool-4-thread-16] - Authentification on LDAP Server failed : [LDAP: error code 34 - invalid DN] Openldap log : # slapd[29

Re: Openmeetings and Openldap

2009-02-24 Thread Kunthar
Can we see logs? On Tue, Feb 24, 2009 at 6:49 PM, alex LUCAS wrote: > My arborescence in Ldap is : one 'o' for the Oganization, and many 'dn' for > the users and many 'ou' with sub 'ou' for others Organizational Units. > I've tried with users just in the 'o' > > Here, a user for test : > > dn:

Re: Openmeetings and Openldap

2009-02-24 Thread alex LUCAS
My arborescence in Ldap is : one 'o' for the Oganization, and many 'dn' for the users and many 'ou' with sub 'ou' for others Organizational Units. I've tried with users just in the 'o' Here, a user for test : dn: uid=test.forum, o=MYCOMPANY businessCategory: null employeeType: Monsieur givenName:

Re: Openmeetings and Openldap

2009-02-24 Thread Kunthar
What about c, ou, cn etc. etc. boring ldap stuff? Case sensitive? \|/Kunthar On Tue, Feb 24, 2009 at 6:29 PM, alex LUCAS wrote: > Yes, user/password are correct because the are used with other applications > (our intranet / phpldapadmin / ldapbrowser ). > And if I set a wrong password to the l

Re: Openmeetings and Openldap

2009-02-24 Thread alex LUCAS
Yes, user/password are correct because the are used with other applications (our intranet / phpldapadmin / ldapbrowser ). And if I set a wrong password to the ldap_passwd, I don't see any log in the ldap server log. So I think the connection is good. 2009/2/24 Kunthar > > Did you try console ld

Re: Openmeetings and Openldap

2009-02-24 Thread Kunthar
Did you try console ldap tools to be sure that the user and password is correct? I can't remember the exact name for ldap tools on Debian for now. \|/ Kunth On Tue, Feb 24, 2009 at 5:57 PM, alucas wrote: > > Hello, > > Firstly, thank you for this wonderful application that Openmmetings. > > I h

Openmeetings and Openldap

2009-02-24 Thread alucas
Hello, Firstly, thank you for this wonderful application that Openmmetings. I have a problem with openldap. I have installed openmeetings_0_7_rc2 with the embedded red5 server on a Linux Debian Etch. Everything works well. I just have a problem with LDAP authentication (My Ldap is on another s