lol ;-) any logmessages?
On 20 Mrz., 12:48, bidab <ivan.bol...@gmail.com> wrote: > no.... > > On Mar 20, 12:43 pm, smoeker <o.beche...@medint.de> wrote: > > > > > it works? > > > On 20 Mrz., 12:17, bidab <ivan.bol...@gmail.com> 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 solutions) > > > ldap_passwd=greatpassword > > > ldap_login_base=OU:Unit1,OU:Unit2,DC:OM,DC:local > > > ldap_search_base=OU:Unit1,OU:Unit2,DC:OM,DC:local (I want to try just > > > with my account for the moment) > > > > To connect on OM, I try > > > > j...@om.local + password > > > > AND > > > > OM\JDOE + password > > > > Thanks > > > On Mar 20, 11:29 am, smoeker <o.beche...@medint.de> wrote: > > > > > 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 > > > > > #LDAP URL, where ldap_admin can be found > > > > ldap_login_base=OU:external users,OU:Other,DC:medint,DC:local > > > > > #base to search for userdata(of user, that wants to login > > > > ldap_search_base=OU:Company,DC:medint,DC:local > > > > > i am not sure about your syntax concerning ... > > > > > a)ldap_admin=OM\djoe -> if jdoe is the usersPrincipalname, > > > > keep away the "OM\ part" -> just write djoe (or John DOE?!?) > > > > b)ldap_login_base -> keep away "CN=John DOE", just > > > > write "OU=Unit1,OU=Unit2,DC=OM,DC=local" > > > > > by the way, check to use either "John DOE" or "jdoe" > > > > > -> the rootdn is built within openMeetings like > > > > > String dn = "CN=" + ldap_admin + "," + ldap_login_base; > > > > > keep in mind : > > > > > the ldap_admin should be a user, that creates the bind on the > > > > ldapserver, if authenitcation is requiered, > > > > the ldap_login_base should be the name of the ldapNode, in which > > > > ldap_admin can be found > > > > > the rootDN for the authentication on the ldapserver is built within OM > > > > like shown above (String dn) > > > > > the ldap_search_base is the ldapNode, in which the openmeetings user > > > > should be found (for taking over detaildata into OM) > > > > > see ya > > > > > Smoeker > > > > > see ya > > > > > Smoeker > > > > > On 20 Mrz., 11:00, bidab <ivan.bol...@gmail.com> wrote: > > > > > > 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 <ivan.bol...@gmail.com> wrote: > > > > > > > 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,DC=local"; > > > > > > > It's OK I have no error. > > > > > > > So, in om_ldap.cfg I put: > > > > > > > ldap_conn_url=ldap://OM.local:389 > > > > > > ldap_admin=OM\jdoe > > > > > > ldap_passwd=greatpassword > > > > > > ldap_login_base=CN=John DOE,OU=Unit1,OU=Unit2,DC=OM,DC=local > > > > > > ldap_search_base=OU=Unit1,OU=Unit2,DC=OM,DC=local > > > > > > > Is it good ? > > > > > > > Thanks > > > > > > > On Mar 20, 10:22 am, smoeker <o.beche...@medint.de> wrote: > > > > > > > > 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 > > > > > > > > On 20 Mrz., 10:18, bidab <ivan.bol...@gmail.com> wrote: > > > > > > > > > However, when I comment > > > > > > > > //ctx.createSubcontext > > > > > > > > ( rootContext ); > > > > > > > > > I have no error...just blank > > > > > > > > > On Mar 20, 10:15 am, bidab <ivan.bol...@gmail.com> wrote: > > > > > > > > > > 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 > > > > > > > > > - 00000057: LdapErr: DSID-0C090B38, comment: Error in > > > > > > > > > attribute > > > > > > > > > conversion operation, data 0, vece > > > > > > > > > > What's the problem ? if you know... > > > > > > > > > > Thanks. > > > > > > > > > > Ivan > > > > > > > > > > On Mar 19, 3:59 pm, smoeker <o.beche...@medint.de> wrote: > > > > > > > > > > > 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 filesystem by simply typing javac ... > > > > > > > > > > > -> the snippet requieres no additional libs , just the > > > > > > > > > > standard java > > > > > > > > > > libs > > > > > > > > > > > see ya > > > > > > > > > > > Smoeker > > > > > > > > > > > On 19 Mrz., 14:59, bidab <ivan.bol...@gmail.com> wrote: > > > > > > > > > > > > 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 : class Properties > > > > > > > > > > > location: class MakeRoot > > > > > > > > > > > Properties env = new Properties(); > > > > > > > > > > > ^ > > > > > > > > > > > MakeRoot.java:8: cannot find symbol > > > > > > > > > > > symbol : variable Context > > > > > > > > > > > location: class MakeRoot > > > > > > > > > > > env.put > > > > > > > > > > > ( > > > > > > > > > > > Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory" > > > > > > > > > > > ); > > > > > > > > > > > ^ > > > > > > > > > > > MakeRoot.java:9: cannot find symbol > > > > > > > > > > > symbol : variable Context > > > > > > > > > > > location: class MakeRoot > > > > > > > > > > > env.put(Context.PROVIDER_URL, "ldap://" + > > > > > > > > > > > ldapServerName + "/" ); > > > > > > > > > > > ^ > > > > > > > > > > > MakeRoot.java:10: cannot find symbol > > > > > > > > > > > symbol : variable Context > > > > > > > > > > > location: class MakeRoot > > > > > > > > > > > env.put( Context.SECURITY_PRINCIPAL, rootdn > > > > > > > > > > > ); > > > > > > > > > > > ^ > > > > > > > > > > > MakeRoot.java:11: cannot find symbol > > > > > > > > > > > symbol : variable Context > > > > > > > > > > > location: class MakeRoot > > > > > > > > > > > env.put( Context.SECURITY_CREDENTIALS, > > > > > > > > > > > rootpass ); > > > > > > > > > > > ^ > > > > > > > > > > > MakeRoot.java:13: cannot find symbol > > > > > > > > > > > symbol : class DirContext > > > > > > > > > > > location: class MakeRoot > > > > > > > > > > > DirContext ctx = new > > > > > > > > > > > InitialDirContext( env ); > > > > > > > > > > > ^ > > > > > > > > > > > MakeRoot.java:13: cannot find symbol > > > > > > > > > > > symbol : class InitialDirContext > > > > > > > > > > > location: class MakeRoot > > > > > > > > > > > DirContext ctx = new > > > > > > > > > > > InitialDirContext( env ); > > > > > > > > > > > ^ > > > > > > > > > > > MakeRoot.java:17: cannot find symbol > > > > > > > > > > > symbol : class NameAlreadyBoundException > > > > > > > > > > > location: class MakeRoot > > > > > > > > > > > } catch ( NameAlreadyBoundException nabe ) { > > > > > > > > > > > ^ > > > > > > > > > > > 9 errors > > > > > > > > > > > > Could you help me ? I think, it miss librairies but I'm > > > > > > > > > > > not sure... > > > > > > > > > > > > Thanks > > > > > > > > > > > > On 19 mar, 11:59, smoeker <o.beche...@medint.de> wrote: > > > > > > > > > > > > > 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 <ivan.bol...@gmail.com> wrote: > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > Sorry I forgot to precise that I don't use openLDAP > > > > > > > > > > > > > but Active > > > > > > > > > > > > > Directory. > > > > > > > > > > > > > I try to connect with apache studio directory on > > > > > > > > > > > > > windows with my > > > > > > > > > > > > > account (I am a trainee) and I could access to LDAP. > > > > > > > > > > > > > So I configure om_ldap.cfg with my account, but I > > > > > > > > > > > > > have the error > > > > > > > > > > > > > "Server authentification failed", I > > ... > > Erfahren Sie mehr »- 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 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 -~----------~----~----~----~------~----~------~--~---