How to connect to Novell Ldap

Hi,
i tried to connect to our ldap server via novell's jdbc:ldap bridge. but this caused a classDefNotFoundError in the runtime version.
May you explain how i have to build an anonymous connection to a novell ldap server via JNDI?
there's no ssl available.
regards,
Patrick

thanks.
i'll first try to get the jdbc:ldap bridge running.
in the last two weeks i also tried to build the jndi connection on the basis of the jndi tutorial. unsuccessfully.
maybe i'll get the ldap bridge working.

Similar Messages

  • Connecting to Novell LDAP

    Hello All,
    I am running 3 new xServes (10.5.5) and we are trying to use one as an OD master and the other 2 as file servers, but we also want to pull the username/password info from our Novell servers via LDAP. I have been doing some reading on this but am a little over my head in terms of getting it up and running. I was hoping someone here has done this or at least could point me in the right direction.
    Thanks
    Mike

    You should be able to use:
    initialContext.getAttributes(fullDN);to get all attributes of the entry
    Look at javadoc for javax.naming.directory.InitialDirContext
    Artur...

  • Cannot find the Novell Connection Manager for LDAP

    Novell Connection Manger for Java/LDAP
    Cannot find the Novell Connection Manager for LDAP in download
    I am trying to connect through a Java client to the Apache Directory Studio, LDAP server....I have downloaded the classes from the download page...see link below...but I can't see the NovellConnectionManager Class anywhere in this download when I use the open freely application to view the jar details.
    LDAP Classes for Java
    Environment: Windows 7

    Hi MentalSuplex, and a warm welcome to the forums!
    Don't know about Airport cards for it, but other options...
    http://eshop.macsales.com/item/Sonnet%20Technology/N80211PCI/
    Maybe this one, ask them...
    http://eshop.macsales.com/item/Newer%20Technology/MXP802NPCI/
    I use these...
    http://eshop.macsales.com/item/Newer%20Technology/MXP2802NU2C/
    http://eshop.macsales.com/item/Edimax/EW7711UMN/

  • Please Help.  How can you monitor a directory using jndi connection to a ldap server?

    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

    Hi,
    Why do you want to use LDAP for Hard disk monitoring..???
    U can do this by creating a MD5 checksum for all the files existing in some
    perticular
    directory and every hour or any configurable period u can recalculate the
    checksum
    to find out the change in the content.
    I guess all u need is to get the code for "updatedb" utility of Linux and
    instrument it for ur needs..
    Hope it helps...
    -aseem
    mr wrote:
    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

  • How to connect to LDAP?

    Hi,
    where may I find information/documentatio/toturials of how to connect to LDAP from java classes?
    Please help.
    Thankyou,
    Nadir.

    Nadir,
    Here:
    http://java.sun.com/products/jndi/docs.html
    You can find many things there and the tutorial is good.
    Follow the links in http://java.sun.com/products/jndi/index.html#DOWNLOAD12, you can get many useful examples (great!).
    Some code work fine in my app:
    import javax.naming.*;
    import javax.naming.directory.*;
    env = new Hashtable(5, 0.75f);
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, URL);
    env.put(Context.REFERRAL, "ignore");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, DN); //use your own one
    env.put(Context.SECURITY_CREDENTIALS, PassWord); //use your own one
    try {
    ctx = new InitialDirContext(env);
    } catch (NamingException e) {
    e.printStackTrace();
    Hope this helps.
    Cheers,
    George

  • How to connect from XI to LDAP

    Hi
    How to integrate XI and LDAP server.I know there is no LDAP adapter is available in XI. Can i use java proxy to connect to LDAP or is ther any other way to do the integration
    Regards
    Ravi Shankar B

    Hi
    You use a java proxy for doing XI <-> LDAP
    Helpful blogs.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    There is some config within XI (3.0 - SP5 onwards).
    Run transaction spro > Sap web Application Server > System Administration > Directory Integration > configure LDAP Connector, Define LDAP Users Confgure LDAP Server.
    Probably this could help you.
    Thanks
    Swarup

  • How to connect a LDAP Server?

    When creating the LDAP Data Server in Topology Manager using the Sunopsis LDAP Open Connector, the following message is displayed:
    "A NamingException occured saying: [LDAP: error code 49 - Invalid Credentials]"
    I use the sunopsis JDBC driver:
    com.sunopsis.ldap.jdbc.driver.SnpsLdapDriver
    and set the parameters:
    jdbc:snps:ldap?ldap_url=ldap://10.182.255.38:389/&ldap_basedn=cn=Users,dc=cn,dc=oracle,dc=com
    the user is set to:
    cn=orcladmin,cn=Users,dc=cn,dc=oracle,dc=com OR cn=orcladmin OR orcladmin, the error is the same.
    Could anyone tell me how to solve this issue?

    I can't connect to the ldap server.
    Using a simple java program, no problem, ODI, no go.
    Some code I found on the internet to connect to the ldap server
    Note the comments on SECURITY_PRINCIPAL and SECURITY_CREDENTIALS.
    This works fine for me.
    If I try to do the same with ODI, it doesn't work.
    Why?
    Kinde regards,
    Frans.
    public static void main( String[] args ) {
    // set up environment to access the server
    Properties env = new Properties();
    env.put( Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory" );
    env.put( Context.PROVIDER_URL, "ldap://" + ldapServerName + "/" + rootContext);
    //env.put( Context.SECURITY_PRINCIPAL, rootdn );
    //env.put( Context.SECURITY_CREDENTIALS, rootpass );
    try {
    // obtain initial directory context using the environment
    DirContext ctx = new InitialDirContext( env );
    // now, create the root context, which is just a subcontext
    // of this initial directory context.
    //ctx.createSubcontext( rootContext );
    Attributes attr = ctx.getAttributes("");
    NamingEnumeration allAttr = attr.getAll();
    while (allAttr.hasMore()) {
    Attribute a = (Attribute)allAttr.next();
    System.out.println("attr: " + a.getID());
    NamingEnumeration values = attr.getAll();
    while (values.hasMore()) {
    System.out.println("value: " + values.next());
    catch ( NameAlreadyBoundException nabe ) {
    System.err.println( rootContext + " has already been bound!" );
    catch ( Exception e ) {
    System.err.println( e );
    }

  • How we connect OPEN LDAP to weblogic server

    Hi All,
    How we connect OPEN LDAP to weblogic server

    There are several blogs for how you set up Open LDAP as a security provider:
    http://biemond.blogspot.com/2008/10/using-openldap-as-security-provider-in.html
    http://blogs.oracle.com/jamesbayer/2007/08/using_openldap_with_weblogic_s.html

  • How Java connect to LDAP?

    Hi guys
    Does anybody know how Java connect to LDAP server. Thanks in advance.
    Regards,
    Mark.

    http://www.java-pro.com/code/2000/JP0012.zip is the source code for the December 2000 issue of Java Pro magazine, which had an article about this. Inside you will find JP0012JB.zip which is the source code for working with LDAP. You don't get a copy of the articles in this zip file, only the code.

  • How to connect LDAP though SSL

    Hi,
    I had successfully configured iDS4.1 to be a Naming Information Server,
    and I applied a Test cert to it which generated from Verisign. Now I
    would like to let all LDAP client connect to my LDAP server though the
    encrytion port 636, what should i do?
    Thanks
    Matthew

    Matthew Cheung wrote:
    >
    I had successfully configured iDS4.1 to be a Naming Information Server,
    and I applied a Test cert to it which generated from Verisign. Now I
    would like to let all LDAP client connect to my LDAP server though the
    encrytion port 636, what should i do?
    When you want to connect to LDAP via SSL the server sends his
    certificate to the client. The client then wants to verify this cert and
    therefore he needs the certificate of the issuer of the server cert. If
    the verification fails (e.g the issuer cert is missing, no longer valid,
    revoked or not trusted) the client refuses the connection to the server.
    So all your clients need the certificate of the issuer of your Test
    cert. In your case insert the Verisign certificate into your LDAP
    Clients as a trusted CA certificate. Then configure your clients to use
    a secure connection with host = your.ldap.host and port = 636 (or
    whatever port you use for encrypted connections). You also need the
    baseDN and maybe a bindDN and password.
    Armin Wenz

  • How to connect OpenLDAP WAS Java, EP?

    Hello experts,
    did anyone succed to connect an OpenLDAP to WAS Java?
    I think a OpenLDAP libary need to be installed/configured in order to use it for the user management in the EP.
    I would appreciate to get information how to realize the connection?
    Where I can get the libary?
    Is there any step-by-step-guide?
    Thanks in advance.
    Thomas

    Thank you for your reply.
    I would like to connect an OpenLDAP to our EP7.0 with Web Application Server Java.
    However all experts just inform me that it is possible to use LDAP as a datasource. I know this already and I know where to find general information about using LDAP for identity management.
    But I need information how to connect especially an OpenLDAP to EP7.0 with WAS Java, Win2k3 64bit; Connection should be writeable and in a Flathierachy.
    I think I just have to adjust one of the LDAP-configuration XML-files to the OpenLDAP requirements.
    In the standard delivery there are already Configuration-XML-Files for Microsoft AD, Novell, Sun etc.
    Is there already an Configuration-XML-File which I can use for OpenLDAP?
    If not how I can use and adjust the exisiting files to make the OpenLDAP connection work (Access writeable, Flathierachy)?
    Thanks in advance for your help.
    Thomas

  • How get all sAMAccountName from LDAP?

    Good day ... i'm find this ...
    declare
    -- Adjust as necessary.
    l_ldap_host VARCHAR2(256) := &&;
    l_ldap_port VARCHAR2(256) := &&;
    l_ldap_user VARCHAR2(256) := &&;
    l_ldap_passwd VARCHAR2(256) := &&;
    l_ldap_base VARCHAR2(256) := 'dc=&&,dc=&&,dc=&&';
    l_filter varchar2(100) := '(&(sAMAccountName=*))';
    l_retval pls_integer;
    l_session dbms_ldap.session;
    l_attrs dbms_ldap.string_collection;
    l_message dbms_ldap.message;
    l_entry dbms_ldap.message;
    l_attr_name varchar2(256);
    l_ber_element dbms_ldap.ber_element;
    l_vals dbms_ldap.string_collection;
    l_raw dbms_ldap.binval_collection;
    l_result varchar2(100);
    begin
    -- Choose to raise exceptions.
    dbms_ldap.use_exception := true;
    dbms_ldap.utf8_conversion := false;
    -- Connect to the LDAP server.
    l_session := dbms_ldap.init(hostname => l_ldap_host, portnum => l_ldap_port);
    l_retval := dbms_ldap.simple_bind_s(ld => l_session, dn => l_ldap_user, passwd => l_ldap_passwd);
    -- Get all attributes
    l_attrs(1) := 'sAMAccountName'; -- retrieve all attributes
    l_retval := dbms_ldap.search_s(ld => l_session
    ,base => l_ldap_base
    ,scope => dbms_ldap.scope_subtree
    ,filter => l_filter
    ,attrs => l_attrs
    ,attronly => 0
    ,res => l_message);
    if dbms_ldap.count_entries(ld => l_session, msg => l_message) > 0
    then
    -- Get all the entries returned by our search.
    l_entry := dbms_ldap.first_entry(ld => l_session, msg => l_message);
    <<entry_loop>>
    while l_entry is not null
    loop
    -- Get all the attributes for this entry.
    dbms_output.put_line('---------------------------------------');
    l_attr_name := dbms_ldap.first_attribute(ld => l_session
    ,ldapentry => l_entry
    ,ber_elem => l_ber_element);
    <<attributes_loop>>
    while l_attr_name is not null
    loop
    -- Get all the values for this attribute.
    l_vals := dbms_ldap.get_values(ld => l_session, ldapentry => l_entry, attr => l_attr_name);
    <<values_loop>>
    for i in l_vals.first .. l_vals.last
    loop
    dbms_output.put_line('ATTIBUTE_NAME: ' || l_attr_name || ' = ' || substr(l_vals(i), 1, 200));
    end loop values_loop;
    l_attr_name := dbms_ldap.next_attribute(ld => l_session
    ,ldapentry => l_entry
    ,ber_elem => l_ber_element);
    end loop attibutes_loop;
    l_entry := dbms_ldap.next_entry(ld => l_session, msg => l_entry);
    end loop entry_loop;
    end if;
    -- Disconnect from the LDAP server.
    l_retval := dbms_ldap.unbind_s(ld => l_session);
    dbms_output.put_line('L_RETVAL: ' || l_retval);
    end;
    If i use filter '(&(sAMAccountName=*))' (me need get all 'sAMAccountName')
    ERROR at line 1:
    ORA-31202: DBMS_LDAP: LDAP client/server error: Sizelimit exceeded
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_LDAP", line 1457
    ORA-06512: at "SYS.DBMS_LDAP", line 234
    ORA-06512: at line 28
    How fix it ?
    Thanks all.
    p.s. I'm beginner Developer Oracle 10g

    Probably some workaround needed. Hopefully this one works: http://www.freelists.org/archives/oracle-l/04-2006/msg01100.html

  • How to-Connect to Openfiler NAS ?

    How to-Connect to Openfiler NAS (Network Attached Storage)?
    I have enabled SMB/CIFS, NFSv3 and WebDAV.
    Current Share is Open250 (/mnt/open250/)
    I can connect through my web browser as the admin. Just need help connecting through the Finder.
    I've tried to connect by:
    • browsing (Network in Finder)
    • Keying the IP in Connect ot Server (w and w/o smb://)

    The Openfiler setup requires another computer to host the user account data (ldap). I wanted a simple solution for a home network. I now went to FreeNAS and this has worked beautifully.
    Now just waiting for iTV to be released then I'm good to go.

  • How to connect to MS Exchange Server?

    Does anyone know how to connect to a local MS Exchange Server? I know the server name and the directory hierarchy path name for the server. How do I connect?

    What is the purpose of connecting? If you just want to send/receive mail I think your question is already answered. If you want to interact with the server, say to read/write tasks, calendar, etc., well that too can be done but it gets pretty hairy.
    If you have the money, a product call "Harmony for Exchange" by compoze is probably your quickest/easiet option (http://www.compoze.com/hcs_exchange.html). It provides a Java API into the Exchange Collaboration Data Objects -- all for a mere $8k per CPU.
    Another option is J-Integra's Exchange bridge (http://www.intrinsyc.com/products/bridging/jintegra.asp), it is actually the foundation of Compoze's product. The J-Integra bridge ($3k per server) exposes proxy classes into the raw CDO. No problem if you have lots of CDO programming experience, not much fun for a novice.
    I've heard that you can even use LDAP to interact with the server, but I don't have any experience with that. Anybody know of other options? I'm still struggling with these alternatives myself.

  • Weblogic 8.1 and Novell LDAP SSL

    Hi Everyone !
    I'm having problems enabling SSL between Weblogic 8.1 and Novell LDAP. I have
    the non-SSL working. All the BEA documentation I've found indicates that the SSL
    Enabled checkbox needs to be checked and that's all. This can't be all because
    I get the following errors.
    Does anyone know how to solve this ?
    Thanks,
    Eddie
    ####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV> <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090169>
    <Loading trusted certificates from the jks keystore file C:\bea8.1\WEBLOG~1\server\lib\DemoTrust.jks.>
    ####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV> <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090169>
    <Loading trusted certificates from the jks keystore file C:\bea8.1\JDK141~1\jre\lib\security\cacerts.>
    ####<Oct 1, 2003 12:06:42 PM EDT> <Warning> <Security> <6X19DYSZH1ZV> <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090476>
    <Invalid/unknown SSL header was received from peer NASTEA02 - 10.4.5.104 during
    SSL handshake.>

    You need to configure the server SSL to trust the identity certificate it receives
    from nastea02.bankofny.com If you want to use the default configuration you could
    simply import the CA certificate that issued that identity certificate to the
    DemoTrust.jks keystore.
    Also, look at Using Host Name Verification here: http://edocs.bea.com/wls/docs81/secmanage/ssl.html#1187786
    because this might be another reason why the certificate is rejected.
    Pavel.
    "Eddie Baue" <[email protected]> wrote:
    >
    Hi Everyone !
    Please ignore the exceptions from my previous posting. I'm getting
    a new exception,
    which I've list below.
    Thanks,
    Eddie
    ####<Oct 1, 2003 2:47:20 PM EDT> <Warning> <Security> <6X19DYSZH1ZV>
    <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
    <> <BEA-090477>
    <Certificate chain received from nastea02.bankofny.com - 10.4.5.104 was
    not trusted
    causing SSL handshake failure.>
    "Eddie Baue" <[email protected]> wrote:
    Hi Everyone !
    I'm having problems enabling SSL between Weblogic 8.1 and NovellLDAP.
    I have
    the non-SSL working. All the BEA documentation I've found indicatesthat
    the SSL
    Enabled checkbox needs to be checked and that's all. This can't beall
    because
    I get the following errors.
    Does anyone know how to solve this ?
    Thanks,
    Eddie
    ####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV>
    <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
    <> <BEA-090169>
    <Loading trusted certificates from the jks keystore file C:\bea8.1\WEBLOG~1\server\lib\DemoTrust.jks.>
    ####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV>
    <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
    <> <BEA-090169>
    <Loading trusted certificates from the jks keystore file C:\bea8.1\JDK141~1\jre\lib\security\cacerts.>
    ####<Oct 1, 2003 12:06:42 PM EDT> <Warning> <Security> <6X19DYSZH1ZV>
    <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
    <> <BEA-090476>
    <Invalid/unknown SSL header was received from peer NASTEA02 - 10.4.5.104
    during
    SSL handshake.>

Maybe you are looking for