SQL Developer 4.0 EA2 -- Cannot use OpenLDAP with LDAP connect option

Hi,
I've got OpenLDAP setup to work with my Oracle clients, to serve up TNS connect strings, in lieu of having tnsnames.ora files scattered about hundreds of servers.
This is working fine with 10g/11g, both full and instant clients, no problem.
Now, I'm trying to configure SQL Developer 4.0 EA2 working with it, as well.
When I attempt to do so, I'm able to select the "LDAP" option in "Connection Type", and the "LDAP Server" drop down list is correctly populated with my LDAP server, from ldap.ora.
However, when I select it, I get the following error:
Status : Failure -[LDAP: error code 32 - No Such Object]
Now, I've done some research, and I monitored the slapd.log file, which shows me the following:
Sep 18 02:43:35 einstein slapd[2779]: conn=1034 fd=16 ACCEPT from IP=192.168.125.1:63781 (IP=0.0.0.0:389)
Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=0 BIND dn="" method=128
Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=0 RESULT tag=97 err=0 text=
Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=1 SRCH base="" scope=2 deref=0 filter="(objectClass=orclContext)"
Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=2 UNBIND
Sep 18 02:43:35 einstein slapd[2779]: conn=1034 fd=16 closed
Which is a lot more detail, but reflects the corresponding error code, (32 - No Such Object).
After doing some testing with ldapsearch, I've been able to replicate what SQL Developer is doing, and get the exact same error.
That ldapsearch command is:
ldapsearch -h einstein -p 389 -c -x -D "" -b "" "(objectClass=orclContext)"
Looking in the slapd.log file, I find an identical error to what is produced from SQL Developer.
Further, the query that SQL Developer wants to do can be successfully done with the following ldapsearch:
ldapsearch -h einstein -p 389 -c -x -D "" -b "dc=proquest,dc=com" "(objectClass=orclContext)"
So, it seems the problem is with the fact that SQL Developer is not supplying a search base.
I'm no LDAP expert, and I'm really not sure where to turn next....
Is there a SQL Developer option that allows me to set that search base?  Is there a configuration I'm missing on the LDAP server configuration?
Thanks,
-Mark

Well, that didn't take long.  I managed to find a solution to the problem.
It comes down to the fact that SQL Developer doesn't supply a search base, and my LDAP server didn't have a default search base defined.
When I edited slapd.conf (the OpenLDAP config file) and added a "defaultsearchbase" parameter, and bounced the LDAP server, everything started to work.
I now have a working configuration with OpenLDAP and SQL Developer.
I'll mark this discussion as closed.
-Mark

Similar Messages

  • Partial solution for sql developer 2.1 EA2 and 9i db

    While this bug resolved, I have found a solution to use sql developer 2.1 EA2 and db 9i.
    The solution has been to mix two post:
    1.- Re: 2.1: Packages and compilation icons
    2.- Issue with viewing packages in SQL Developer EA2
    The problem seems to be acces to the tables ALL_PLSQL_OBJECT_SETTINGS and DBA_PLSQL_OBJECT_SETTINGS , deleting the reference in the xml file that it's at the post 1, I can see the Packages, Procedures and Functions of db 9i.

    In SQL Developer 2.1, the CVS and Perforce extensions will be available through the Check for Updates facility. We will update the Check for Updates this week, so that you can use them with SQL Developer EA2.
    Sue

  • I cannot use itunes with windows 7. I think the problem has something to do with the fact that a 32 bit xp version was loaded on my machine. I can't uninstall it and the 64 bit version will not install.

    I cannot use tunes with windows 7. A 32 bit xp version was loaded from my prior computer. It will not uninstall. The 64 bit version will noit install.

    I cannot use tunes with windows 7. A 32 bit xp version was loaded from my prior computer. It will not uninstall. The 64 bit version will noit install.

  • Apple TV 1st generation cannot use AirTunes with Apple TV 2nd generation or Airport express 2nd generation

    Is it normal that Apple TV 1st generation cannot use AirTunes with Apple TV 2nd generation or Airport express 2nd generation? I want to play music synced in my ATV 1st gen. to a nymber of speakers in the house. In the list of speakers I can see Apple TV itself and my two Airport Expresses 1st generation but not my Apple TV 2nd generation or my Airport express 2nd generation. For the ATV 2nd gen. I found a solution: when I enable the Airplay setting of XBMC which is installed on my ATV 2nd generation, then AirTunes in ATV 1st gen. sees the speaker "XBMS (Apple-TV)". Itunes can in my Macbook pro can use Airplay with all my speakers, i.e. ATV 1st gen., ATV 2nd gen., Airport Express 1st gen., Airport Express 2nd gen.

    Last time I checked ATV1 could not use Airtunes to send audio to an AppleTV 2 or 3 - highly annoying as you think they would have kept backwards compatibiility for audio, but it seems Airplay is more than a superset of Airtunes.
    AC

  • Cannot use comparisons with column column references in pool and cluste

    Hi Experts,
    I  am facing an issue in a select statement written in 4.6 version and in that the table is a transparent table but when porting it to ECC6.0, it gives the follwing error:
    You cannot use comparisons with column column references in pool and cluster tables:'A~MATNR'. refe
    The select statement is as below:
    SELECT akschl alifnr amatnr aekorg awerks aesokz
             aknumh adatbi a~datab
             bmtart bmatkl
            b~yybcezndr " Commented as not required(IDE)
             cwerks cmmsta c~herkl
                INTO CORRESPONDING FIELDS OF TABLE  gt_a017
                FROM a017 AS a
               INNER JOIN mara AS b
                ON bmatnr = amatnr
                 INNER JOIN marc AS c
                   ON cmatnr = bmatnr
                  AND cwerks = awerks
                 INNER JOIN lfa1 AS d
                 ON dlifnr = alifnr
                WHERE a~kappl  = 'M'           AND
                      a~lifnr IN s_lifnr              AND
                      a~matnr IN s_matnr        AND
                      a~ekorg IN s_ekorg        AND
                     a~kschl  = v_kschl        AND
                      a~kschl  = gv_kschl       .
    Kindly help me out in this as A017 is a pooled table in ECC 6.0 . Thanks in advance!!!
    Thanks and Best Regards,
    Sahil

    Hi Sahil,
    Refer below code
    SELECT KSCHL LIFNR MATNR EKORG WERKS ESOKZ
           KNUMH DATBI DATAB
      FROM A017
      INTO IT_A017 " internal Table
      WHERE KAPPL = 'M' AND
            LIFNR IN S_LIFNR AND
            MATNR IN S_MATNR AND
            EKORG IN S_EKORG AND
    *         kschl = v_kschl AND
            KSCHL = GV_KSCHL .
      IF IT_A017[] IS NOT INITIAL.
        SELECT MATNR MTART MATKL
              FROM MARA
          INTO TABLE IT_MARA" internal Table
          FOR ALL ENTRIES IN IT_A017
          WHERE MATNR = IT_A017-MATNR.
        SELECT MATNR WERKS MMSTA HERKL
          FROM MARC
          INTO TABLE IT_MARC" internal Table
          FOR ALL ENTRIES IN IT_A017
          WHERE MATNR = IT_A017-MATNR AND
                WERKS = IT_A017-WERKS.
        SELECT LIFNR
          FROM LFA1
          INTO IT_LFA1" internal Table
          FOR ALL ENTRIES IN IT_A017
          WHERE LIFNR = IT_A017-LIFNR.
        ENDIF.
    After this use READ statement and fill the data in final internal table..
    Please search on SCN for more information about how to use FOR ALL ENTRIES..
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • My system recovered from a serious error recently. During the error, Firefox crashed. Since I have restarted my syetme and Firefox, I cannot use any of the toolbar options such as:close, minimise and maximise. Also, when I right click, an outline of a box

    My system recovered from a serious error recently. During the error, Firefox crashed. Since I have restarted my system and Firefox, I cannot use any of the toolbar options such as:close, minimise and maximise. Also, when I right click, an outline of a box appears without the visible options although on some occasions they appear after 10 seconds or so. Can you advise me of what to do to cure this problem please or is it a case of using a Windows tool such as System Restore?
    == This happened ==
    Every time Firefox opened
    == 22nd May 2010

    I HAVE NOW SOLVED THE PROBLEM BY RUNNING WINDOWS REGISTRY REPAIR TOOL WHICH HAS OBVIOUSLY REPAIRED CORRUPT REGISTRY FILES.

  • Using START WITH and CONNECT BY PRIOR in a report

    Hi - I am using Oracle 9i and reports 10g. Does anyone know of a reason why running my sql in TOAD will produce the correct results, but the report is dropping records? I am using start with and connect by prior to build a hierarchy of linked records. The report is dropping the "child records" and only returning records from the route level.
    Thanks you for your help.

    Hi user574499
    Could u pls share us ur Query...?
    Regards,
    Abdetu...

  • Where to add Third Party JDBC Driver in SQL Developer 4.1 EA2

    In SQL Developer 4.0.3 under Tools - Preferences - Database there was an option to add a  Third Party JDBC Driver so we could use the same tool for a PostgresSQL database.  I cannot find in in SQL Developer 4.1.0.18

    I think it happened because I imported settings and connections from a previous installation. 
    I removed the C:\Users\username\appdata\SQL Developer\system4.1.0.18.37\ folder.
    I've run it now without that and the option is back.
    Thanks! 

  • [SQL Developer 3.0.04] Cannot Drill Down

    In my connections tab, once I can connect, I see a list of database objects with expandable plusses. However, when I click on a plus, I don't get anything under it (e.g., a list of tables). I'm going against an Oracle 11 normal database.
    Is there a setting I've missed in the tool, or is this my security access. I seem to be able to execute the SQL I need.

    Hi Gary,
    You have described a variation on theme that can be found in many posts on this forum. You may want to try out the most common fixes:
    1. Make sure you are not pointing to a Java 7 jdk in your sqldeveloper.conf file. Using the latest jdk1.6.0_xx update is recommended.
    2. Try restarting SQL Developer after removing its system directory (but only after first backing up your connection information!).
    3. Rather than (2), alternately you could download the latest SQL Developer (3.2.09.30), unzip it into an empty directory, and start it up.
    If you decide to go with (2)
    A. Back-up the connections by right-clicking on the Connections node, select Export Connections..., then follow the Export dialog.
    B. Exit SQL Developer.
    C. Either delete or rename the system directory. On Windows 7 for SQL Developer 3.0.04.34, for example, it can be found at:
    C:\Users\<username>\AppData\Roaming\SQL Developer\system3.0.04.34D. Launch SQL Developer and import your connections.
    If you decide to go with (3), you can either migrate settings from an earlier SQL Developer install or not. If not, doing (2A) may be convenient if you prefer to import connections rather than re-enter them manually.
    One of these approaches usually resolves the issue.
    Regards,
    Gary Graham
    SQL Developer Team

  • SQL Developer 3.0 EA2 quick feedback (outdated there is an EA3 now)

    Ok, this post is outdated. Once I've tried EA3 I'll give my feedback again, hopefully not just before EA4 or the final release is released.
    Since I don't see another way to give feedback about the new SQL Developer EA release, here a brief summary of my findings so far.
    1. The "new and improved" SQL History is very very very slow
    2. Importing my 5Mb sql history during the migration takes > 1 day, I've aborted this operation. This might be a "show stopper" for some people once the 3.0 version is released.
    3. I'm missing a "keep alive" option for connections, to prevent firewalls from closing the connection while idling (true, this won't prevent firewalls from doing so when you are executing a long running query, but you should not run those from sql developer ;)
    3.a. an unexpectedly closed connection shouldn't hang up the entire sql developer instance, not really needed if 3 is fixed
    4. I love the schema browser, but would love if you could "open and close" the object in the same way as you can in the connection browser
    4.a. It would be nice if you could default to a certain schema in the schema browser for a given connection. Perhaps a bit like what's possible with the following plugin: http://www.javaforge.com/project/schemasel
    5. I love the new unload data feature, but would be nice if it still had the option to unload to clipboard
    5.a. XLS export of big number columns looses precision, for example a number(38) column with all digits used.
    And did I mention that the SQL History is very very very slow? This is what prevents me of using the 3.0 SQL Developer, even though I really love the schema browser, which is a great enhancement.
    Edited by: user9361780 on Jan 18, 2011 7:00 AM
    Edited by: Wessel van Norel on Jan 19, 2011 2:16 AM

    823006 wrote:
    5.a. XLS export of big number columns looses precision, for example a number(38) column with all digits used.
    I believe excel only holds 15 digits of precision.
    Edited by: 823006 on Jan 18, 2011 8:14 AMThen it would be nice if you can define the "excel type" of each column. So you can make this number a "string" in the XLS.
    Edited by: user9361780 on Jan 18, 2011 9:12 AM

  • SQL Developer 2.1 loses "recently used" type settings

    I'm having an issue with 2.1 that I did not have with 1.5.5. Each time I start SQL Developer all my "recent" settings go back to default. I'm not quite sure how to articulate appropriately what I am seeing, so I will give an example...
    For instance...Each time I restart 1.5.5 and I go to the Files tab, the last drive/folder/file that I last worked with is highlighted. When I export a given result set, and then export another, the last drive/folder that I used is what is brought back into the export dialog box. In 2.1 I seem to have lost this function, and have to drill down each and every time I open, or do another export.
    I have searched through the preferences, and can't really find anything that would seem to relate to this issue...
    Had anyone else experienced this, and if so, have you been able to overcome it?
    Thanks for any help....
    Tim

    The above is my problem at this moment, too . Will anybody help ... us ? ^^

  • SQL Developer  Version 1.5.1 Build MAIN-5440 Imported Connections missing

    I have a problem using SQL Developer Version 1.5.1 Build MAIN-5440. I have successfully imported connections from my previous version of SQL Developer. After I restart, all the connections I have imported has been gone. I tried to import the connections but got an error message:
    java.lang.NullPointerException
         at oracle.jdeveloper.db.DatabaseConnections.getReferenceable(DatabaseConnections.java:695)
         at oracle.jdeveloper.db.DatabaseConnections.addConnection(DatabaseConnections.java:762)
         at oracle.dbtools.raptor.connections.ConnectionGrinder.doImportExport(ConnectionGrinder.java:243)
         at oracle.dbtools.raptor.connections.ConnectionGrinder.invoke(ConnectionGrinder.java:117)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:200)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    I tried to create a new connections. I can test the newly created connections but cannot save it.

    This bug was fixed in SqlDev 2.1.1. You'll find this build on our homepage.
    -Raghu

  • Is SQL Developer 1.5.1.54.40 compatible with older versions of Oracle DB?

    I have SQL Developer 1.2.1 on one machine (this has Oracle installed on the PC) and SQL Developer 1.5.1.54.40 on another (this does not have Oracle installed on it)
    I have set the same 3 database environments on both versions using Basic connection. They have exactly the same Host IP addresses and Port numbers and service names. I am using the same logins and passwords on the PCs.
    When I test these 3 connections on the PC with 1.2.1, the test is successful
    When I test on the PC with 1.51, the test succeeds with one of the connections which is on Oracle 9i, and fails on the remaining 2 connections which are on Oracle 8i=The Failure message I get is: "+*Failure: Test Failed. Unsupported Oracle Database Version*+"

    Unfortunately for your 8i DBs, there is a note in the [release notes|http://www.oracle.com/technology/products/database/sql_developer/files/relnotes_v151.html] that says:
    The JDBC drivers shipped are 11g R1. This means that users will no longer be able to connect to an Oracle 8.1.7 database.
    theFurryOne

  • SQL Developer 1.5 and JDK 1.6_Update 10 - no connections tab and DB wizard

    Hello,
    PLS. HELP!
    I have installed JDK u10 and SQL Developer 1.5 (latest available version from Oracle) on my Windows Vista Sp1 PC (with Oracle 10g Instant Client).
    When I start SQL Developer nothing happens,
    I can neither create a new SQL file, nor a new SQL connection nor can I change any db settings in the preferences dialog.
    When I click on the Tools/SQL Worksheet menu entry I receive the following error:
    java.lang.NullPointerException
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.listConnections(ConnectionPanelUI.java:426)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.resetConnections(ConnectionPanelUI.java:440)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.<init>(ConnectionPanelUI.java:120)
         at oracle.dbtools.raptor.controls.ConnectionPanelUI.<init>(ConnectionPanelUI.java:101)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.<init>(ConnectionSelectorUI.java:36)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.getConnection(ConnectionSelectorUI.java:59)
         at oracle.dbtools.raptor.controls.ConnectionSelectorUI.getConnection(ConnectionSelectorUI.java:42)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorWizard.invoke(SqlEditorWizard.java:107)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:317)
         at oracle.dbtools.sqlworksheet.sqlview.SqlEditorAddin$2.actionPerformed(SqlEditorAddin.java:249)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
         at java.awt.Component.processMouseEvent(Component.java:6134)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5899)
         at java.awt.Container.processEvent(Container.java:2023)
         at java.awt.Component.dispatchEventImpl(Component.java:4501)
         at java.awt.Container.dispatchEventImpl(Container.java:2081)
         at java.awt.Component.dispatchEvent(Component.java:4331)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
         at java.awt.Container.dispatchEventImpl(Container.java:2067)
         at java.awt.Window.dispatchEventImpl(Window.java:2458)
         at java.awt.Component.dispatchEvent(Component.java:4331)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    I appreciate every hint.
    Thanks beforehand,
    Stefan

    I don't recommend trying 1.2, as 1.5.1 is being used by many on Vista and going back to 1.2, means you lose out on much of the new 1.5 functionality.
    Let's try to track down the Vista issues instead.
    We have found that some users have solved screen painting issues by using JDK 1.6 as the minimum. It seems you have done that. (However, K able seems to be doing fine on the 1.5 JDK.
    Can you try the download and install again?
    Sue

  • SQL Developer tool sometimes does not display data with date type

    run the following query using the sql developer tool -
    select effective_date from table1 where id = 123;
    (the effective_date is stored in the database as date.)
    one record is returned with no date in the filed.
    However, if I change the query to
    select to_char(effective_date, 'mm/dd/yyyy') from table1 where id = 123;
    one record is returned with effective date.
    Why?
    Thanks for your help.

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

Maybe you are looking for

  • Resolve #multivalue

    Hi All,          vertical table i have applied the report level report .if i select any single measure it's working fine  else i select the category measure(all values) it showing the #multivalue error. how to fix this.

  • TIMEFROMPARTS is not a recognized function in 2008 r2 mssql

    I have three fields - starttime, duration (in hours), and endtime in mssql 2008 r2. Starttime and duration are entered in a form by endusers and I attempted to define trigger to insert/update endtime (as 1 minute less than the starttime+duration) use

  • Deployment error in axis2

    Dear All i am a newbie in this field. But i am trying to learn for my project. i install axis2-1.1.1 , tomcat 5.0.30 . My j2sdk is 1.4.2_04. I can show my axis2 service webpage. when i try to upload service , then the error occur My testing java is v

  • Photoshop files not opening

    When I save my pics after I've adjusted them on Photoshop, I'm unable to get prints made from any photoshop.  I've saved them as a jpeg, but that hasn't helped.  I know I can  print off from home but I want to solve this problem.

  • I cannot access my library from my old p.c.  Please help if you can

    I had a PC that died on me after many, many years of loyal and dependable service.  I purchased a new PC and now I can't access my ITunes library from it.     Please help