Ldap.ora - xe-client - debian

Hi,
I'm using xe-client on debian,
but apparently do not use ldap.ora
i have this line in sqlnet.ora NAMES.DIRECTORY_PATH = (LDAP,ONAMES,TNSNAMES) and ldap.ora has been correct it's work fine on red hat with Oracle client 9.2
we have a idea ?
Thanks in advance
PS: sorry but I'm not a oracle specialist

Could you be more specific about the error you receive.
Have you checked the logfiles?
cu
Andreas

Similar Messages

  • How to configure ldap.ora with multiple ldap contexts

    Hello.
    My company has recently taken on another environment with it's own LDAP configuration. It's a bit tedious to have to keep switching my ldap.ora for both ldap configurations. Are there any good suggestions for either allowing me to search both LDAP configurations (2 separate LDAP setups, with 2 default context)? Or is there a smooth way to populate 1 LDAP with the others data? Or perhaps some form of redirect on one LDAP to the other LDAP server for queries?
    Some basic info: LDAP is Oracle OID version 10gR2
    Please let me know if you have any useful ideas...

    Hi,
    Here is the of OVD benefits :
    1-Easy to setup and manage via our Management client; 2-Unifies multiple directories into a single access point; 3-Normalize and Unify multiple directories; 4-Directly accesses remote repositories;
    5-Allows a unified view of an entry using data from multiple repositories;6-Can act as an LDAP proxy and firewall;
    Why you can not use OVD to improve these? Read, LDAP to the other LDAP server for queries, allowing you to search both LDAP?
    I hope this helps.
    Thiago L Guimaraes

  • Ldap.ora

    Hello,
    I need to setup an ldap with Oracle v.10g. I read that sqlnet.ora and ldap.ora files are used.
    Where theses files must be located, on the client or on the server?
    Has somebody examples of theses two files?
    Thanks in advance for your help
    Fabrice

    What version and edition of Oracle?
    Whose LDAP service?
    The ldap.ora file and its parameters are covered in the Net Services reference manual while the basic information for the feature is in the Net Services Administrator's Guide.
    If Windows then there are "Platform Guide for Microsoft Windows (32 bit)" and for x64 guides.
    HTH -- Mark D Powell --

  • Best Practice to configure tnsnames.ora on client of MAA environment in 10g

    Hi,
    I have a MAA environment, 1 RAC Primary of 2 nodes and 1 RAC standby of 2 nodes too. I want to configure the tnsnames.ora on clients (we have many clients on each PC) and I need to configure the tnsnames.
    I have read some papers but the information is not clear regarding to configure the tnsnames on clients. I just want to have only one entrie on tnsnames that I can use on clients to connect to RAC Primary and/or Standby depending on what site is primary in that moment, I was thinking in something like this:
    SALES.WORLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = site1a)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = site1b)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = site2a)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = site2b)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sales.world)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 5)
    Where site1 is RAC Primary now, and site2 is standby. But in case of switchover, I want that clients recognize automatically to which site connect.
    I was thinking to stop listeners on site that is not primary on that moment.
    The question is if this is the best practice on this scenario?.
    Thanks for your advice.
    Luis

    Hi Louis,
    you need to setup a service with clusterware. On both sides: primary and standby.
    On primary you start them. On standby the services are also configured but stopped.
    In case of switchover or failover, data guard will notice clusterware to bring them up.
    You need to use this service name in your clients tnsnames.
    Another issue are TCP timeouts, to protect against them you use
    outbount_connect_timeout in your sqlnet.ora
    Also have a look at
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_SwitchoverFailoverBestPractices.pdf
    HTH Mathias

  • ORA-02041: client database did not begin a transaction

    Hello All,
    I am making calls from oracle 8i to oracle 9i.
    First i am inserting values from 8i into a table in 9i.
    secondly i am calling a procedure to send mail which again is in 9i database.
    If i run the query ..the mail is sent...
    if i run it for the second time i get this error
    ORA-00164: autonomous transaction disallowed within distributed transaction
    ORA-02041: client database did not begin a transaction
    If i run it again...The mail is sent...
    For every odd transaction the mail is sent and for every even transaction i get this error...Please advice me if you have any tips how i can resolve this..
    Thanks,
    AK

    It is maybe not exaclty the same situation but this thread may help you:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:16455356983632477090::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:362818006460

  • LDAP.ORA not recognized / TNS_ADMIN Variable ignored ?

    Hello,
    I am trying to set up SQLDeveloper on Citrix (W2K3).
    It works fine, but there is one issue I can't resolve.
    ==> The setting of TNS_ADMIN is consequently ignored.
    I placed the LDAP.ORA file in the directory where TNSNAMES.ORA and SQLNET.ORA are located.
    TNSPING works fine then. (Tried a database given in TNSNAMES and one listed in OID, both worked).
    When staring SQLDeveloper from the same shaell where TNS_ADMIN is set, it will list the databases which are in the TNSNAMES.ORA, but it will not show any OID-Server listed in the LDAP.ORA file.
    The LDAP.ORA-File is only recognized when I place it in the directory %ORACLE_HOME%/network/admin.
    For me this is just a workaround, because the files have to be in the same directory, otherwise it is not maintainable.
    Does anyone have any comments on this?
    Is it a bug, a feature, or do I miss something?
    Any help is very welcome!
    Thank you
    Carsten

    No, the LDAP.ora file is not currently used when creating LDAP connections. An oversight on our part and hence a bug. We have it logged.
    Sue

  • Connect with ldap.ora and sqlnet.ora

    Hi
    I am trying to connect Raptor to 9i oracle server. Our server connects using ldap.ora and sqlnet.ora files. I looked at some threads about this issue but do not understand how to connect. Is there a step by step instruction for connecting this way?
    Thanks
    DH

    Hi VRamirez,
    That's a pretty cool workaround. I'm sorry to hear it didn't work perfectly.
    Here is the "low tech" workaround anyone can use -
    From the %ORACLE_HOME% where your sqlnet.ora is, run %ORACLE_HOME%\bin\tnsping eg.
    C:\> tnsping oracle.world
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-APR-2006 22:56:31
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    c:\oracle\oracli92\network\admin\sqlnet.ora
    Used LDAP adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(SOURCE_ROUTE=OFF)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.xxxx.xx)(
    PORT=xxxx)))(CONNECT_DATA=(SID=ORCL))(SRVR=SHARED))
    OK (200 msec)
    C:\>
    Now copy the (DESCRIPTION=...) and paste it into the advanced TNS info tab in the Connections dialog. This works for me for everything but RAC TNS aliases which have load balancing and failover configured -- the advanced TNS info tab chokes on those. For such connections, I was able to use the JDBC string.
    -Natalka
    http://toolkit.rdbms-insight.com

  • Implicit PL/SQL cursors remain open, causing ORA-01000 (Client 9.2.0.1)

    Hello,
    since migrating our system from Oracle Client 9.0.X to 9.2.0.1 (Windows XP), i am encountering troubles when calling a stored procedure from a Cobol-Program:
    after a while i run into a 'Maximum open cursors exceeded'-message (ORA-01000)
    The stored procedure returns a cursor (ref_cursor)
    When Executing the stored procedure, there are actually 2 cursors involved, in fact the stored PL/SQL procedure implicitely opens a child-cursor when doing a select within the PL/SQL.
    After fetching the result and closing the cursor in my cobol-program, it correctly closes the cursor associated with the stored-procedure, but it does not close the cursor that was implicitely opened by oracle.
    After a while i am running into a Maximum open cursors message, because those cursors have not properly been closed.
    Here's a simple PL/SQL package that illustrates the problem:
    create or replace package scott.SCOTTS_PACKAGE is
    type ref_cursor IS REF CURSOR;
    function GET_EMP(EMP_IN CHAR) return ref_cursor;
    end SCOTTS_PACKAGE;
    create or replace package body scott.SCOTTS_PACKAGE is
    -- Function and procedure implementations
    function GET_EMP(EMP_IN CHAR) return ref_cursor is
    MyCurs ref_cursor;
    begin
    OPEN MyCurs FOR
    SELECT EMPNO ,
    ENAME ,
    JOB
    FROM SCOTT.EMP
    WHERE ENAME = EMP_IN;
    return(MyCurs);
    end;
    end SCOTTS_PACKAGE;
    Here are some exerpts from my cobol program:
    (The program iterates 100x through the section that executes the PL/SQL. After each iteration an additional open cursor remains in the database)
    003800 EXEC SQL BEGIN DECLARE SECTION END-EXEC.
    003900*
    004000 01 SQL-USERNAME PIC X(16) VARYING.
    004100 01 SQL-PASSWD PIC X(16) VARYING.
    004200 01 SQL-DBNAME PIC X(64) VARYING.
    004300 01 ORACLE.
    004700 02 ORA-CUR-EMP SQL-CURSOR.
    01 EMPREC.
    02 EMPREC-EMPNO PIC X(4).
    02 EMPREC-ENAME PIC X(10).
    02 EMPREC-JOB PIC X(9).
    005400 EXEC SQL END DECLARE SECTION END-EXEC.
    018400 PROCEDURE DIVISION.
    CONTINUE.
    018700 EXEC SQL
    018800 WHENEVER SQLERROR DO PERFORM SQL-ERROR
    018900 END-EXEC.
    019000*
    CONTINUE.
    019100 EXEC SQL
    019200 WHENEVER NOT FOUND DO PERFORM SQL-NOT-FOUND
    019300 END-EXEC.
    022400 EXEC SQL
    022500 ALLOCATE :ORA-CUR-EMP
    022600 END-EXEC
    PERFORM VARYING I FROM 1 BY 1 UNTIL I > 100
    ACCEPT DUMMY FROM TER
    IF DUMMY = "E"
    MOVE 100 TO I
    END-IF
    PERFORM GET-EMP
    ADD 1 TO I
    END-PERFORM
    119300 GET-EMP SECTION.
    119400************************
    119500 GAM0.
    MOVE SPACES TO EMPREC-EMPNO EMPREC-JOB
    MOVE "SMITH" TO EMPREC-ENAME
    120200 EXEC SQL AT SSSI EXECUTE
    120300 BEGIN
    120400 :ORA-CUR-EMP:=
    120500 SCOTT.SCOTTS_PACKAGE.GET_EMP(:EMPREC-ENAME );
    120900
    END;
    121000 END-EXEC
    121200 IF DB-ERR-CODE NOT = HIGH-VALUE
    121300 DISPLAY "CCSIFSO:GET-AUTRE-MATR:APPEL PERS... OK"
    121400 EXEC SQL
    121500 FETCH :ORA-CUR-EMP
    121600 INTO
    121700 :EMPREC-EMPNO,
    121800 :EMPREC-ENAME,
    121900 :EMPREC-JOB
    122400 END-EXEC
    122500 END-IF
    122600*
    122700 IF DB-ERR-CODE NOT = HIGH-VALUE
    122800 DISPLAY "CCSIFSO:GET-AUTRE-MATR:APPEL FETCH.. OK"
    123000 ELSE
    123100 MOVE LOW-VALUE TO DB-ERR-CODE
    123200 END-IF
    123300 EXEC SQL
    123400 CLOSE :ORA-CUR-EMP
    123500 END-EXEC
    123600 GA-EX.
    123700 EXIT.
    124000 SQL-NOT-FOUND SECTION.
    124100*----------------------
    124200 NF0.
    124300 DISPLAY "CCSIFSO:SQL-NOT-FOUND SECTION."
    124400 MOVE HIGH-VALUE TO DB-ERR-CODE.
    124500 NF-EX.
    124600 EXIT.
    124700*
    124800 SQL-ERROR SECTION.
    124900*-----------------
    125000 ER0.
    125200 EXEC SQL
    125300 WHENEVER SQLERROR CONTINUE
    125400 END-EXEC
    125700 MOVE HIGH-VALUE TO DB-ERR-CODE
    125800*
    126100 DISPLAY "ORACLE ERROR DETECTED: " SQLCODE UPON TER
    126200 DISPLAY SQLERRMC UPON TER
    126300*
    126400 EXEC SQL AT SSSI
    126500 ROLLBACK WORK
    126600 RELEASE
    126700 END-EXEC
    126800 DISPLAY "----------------------------" UPON TER
    126900 DISPLAY " ! ROLLBACK ET DISCONNECT ! " UPON TER
    127000 DISPLAY "----------------------------" UPON TER
    127200 CALL "PPTERMJ".
    127400 ER-EX.
    127500 EXIT.
    Finally here's an exerpt from V$OPEN_CURSOR, after a few iterations:
    1 begin :b1 := SCOTT . SCOTTS_PACKAGE . GET_EMP (:b2 ) ; END ;
    2 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    3 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    4 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    5 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    6 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    7 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    8 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    9 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    10 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    11 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    As you see, there is only 1 cursor starting with 'begin ... '
    but there are 10 implicit cursors 'SELECT EMPNO, ... ' that have not been properly closed, nor reused by ORACLE.
    In our old configuration (ORACLE CLient 9.0.X), you would only see:
    1 begin :b1 := SCOTT . SCOTTS_PACKAGE . GET_EMP (:b2 ) ; END ;
    2 SELECT EMPNO , ENAME , JOB FROM EMP WHERE ENAME = :B1
    meaning all the other cursors have properly been closed.
    As a conclusion: the program correctly closes the implicit cursors when using a 9.0 Client, wheras the implicit cursors remain open on Client 9.2.0.1 (Windows XP)
    The underlying database can be either 8.i or 9, the problem remains the same.
    Finally here's a small Delphi code, using ODAC-components, that somewhat illustrates the same problem:
    procedure TForm1.ExecProcClick(Sender: TObject);
    var I: INTEGER ;
    begin
    FOR I := 1 TO 5 DO
    BEGIN
    SP1.StoredProcName:='SCOTT.SCOTTS_PACKAGE.GET_EMP';
    SP1.Prepare;
    SP1.ParamByName('EMP_IN').AsString := 'SMITH';
    SP1.ExecProc;
    SP1.Next;
    SP1.Close;
    SP1.UnPrepare;
    END;
    end;
    After each call to 'PREPARE', an additional implicit cursor remains open on the database. (using Oracle Client 9.2.0.1)
    On our old system (Oracle Client 9.0 or 8.X), the same program would not generate accumulating open cursors on the database
    Any suggestions would be welcome,
    Claude

    Cobol.. been many years since I last even saw some Cobol source code. Invokes all kinds of memories. :-)
    Since you found the patch, the advice is superfluous, but works. Close the cursor at the PL/SQL side, e.g.
    create or replace procedure CloseRefCursor( cRefCursor TYPELIB.TRefCursor ) is
    begin
      close cRefCursor;
    exception when OTHERS then
      -- if the cursor is already gone, not a problem
      NULL;
    end;In Delphi for example, one can subclass the class used for ref cursor calls and add a call to the above PL/SQL proc in the destructor. Or add create a standard Cobol close ref cursor section that does similar.

  • Get a ORA-32104 error: Debian Oracle10gR2 OCCI

    My code is very simple, and i got an exception when I was trying to execute the following code env = Environment::createEnvironment (Environment::OBJECT); I have also tried env = Environment::createEnvironment (); The result is exactly the same.
    The exception is "Error while trying to retrieve text for error ORA-32104"
    My host is Debian, gcc4.1.2, and I have got the new occi library. I am confused with the error.
    I compiler the code with gcc3.4.3, but got the same error.
    Thanks.
    using namespace oracle::occi;
    using namespace std;
    int
    main( int argc, char* argv[] )
         Environment *  env = NULL;
      // Open a connection to the database, then close it.
      int ret = 0;
      try
        env = Environment::createEnvironment(Environment::OBJECT);
        catch (SQLException ea)
         cerr << " Oracle10g: " << ea.what();
         ret = 1;
      Environment::terminateEnvironment(env);
      return 0;
    }Thanks in advance,
    summer

    Do you have the following set in your ENV
    ORACLE_HOME
    ORACLE_SID
    rgds

  • Linked Servers - Sql server 2005 to connect to Oracle 11g using ldap.ora instead of tnsnames.ora

    We have a SQL Server 2005 64bit box that needs a linked server created to Oracle 11g 64bit box. I have all the Oracle client software installed and can successfully connect to the Oracle database using SQL+ on the SQL Server 2005 64bit box. When I create
    the linked server and select the OraOledb.Oracle provider, I get the TNSNames error. The Oracle server does not use tnsnames.ora it uses OLAP.ora to resolve. How do I get Linked server to stop trying to connect via TNSNames and use the OLAP.ora file instead?
    I can't find any articles for this specific issues. All Oracle examples tell you to use TNSNAMES. The Oracle server is not under my companies control so I can not force the vendor to use tnsnames instead of OLAP.

    Hi,
    Have you got a resolution?
    Thank you.

  • Ora 10g client compatibility

    Accessing Oracle 8.1.7.3 databases with a 10.1. Client produces an ORA-03134 error - access to a server version not supported any more.
    Where can I find which versions are supported - the documentation that comes with the client says nothing about it.
    Michael

    This compatibility matrix:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=207303.1
    "#2 - An ORA-3134 error is incorrectly reported if a 10g client tries to connect to an 8.1.7.3 or lower server. See Note:3437884.8 . "
    Yes, we're still migrating things from 8i - I know it's 2010, but we weren't in any hurry...

  • LDAP server as client to himself

    How would i go about making a 5.2 server a client to himself?
    I have some rdist tools i want to use for maintenance but I am unable to run them becasue the users of the files are defined in LDAP.
    As an alternate answer does anyone know how to disable the uid to password file checking in rdist.
    OS is 9.0 with reasonably up to date patches.

    Do a search of this forum. This topic was covered in-depth about two months ago.
    HTH,
    Roger S.

  • Ldap Persistent Search client/application

    Hi,
    As per the ldap Persistent Search explained in the internet draft
    www.ietf.org/internet-drafts/draft-ietf-ldapext-psearch-03.txt
    do you know any ldap client or ldap application which make use of this
    feature on the client side.
    Thanks in advance
    Baiju

    iPlanet Meta-Directory does for one.

  • Behavior of ldap.ora in SQLDeveloper

    We currently moved over our OID Oracle Name Server to a standard Oracle DSEE LDAP instance for consolidation purposes.
    With this move, there are issues with how SQLDeveloper configured to use LDAP connectivity behaves...
    A search is done to the root of the LDAP instance looking for all "objectclass=orclContect" like so:
    Logs show: SRCH base="" scope=2 filter="(objectClass=orclContext)" attrs="cn dn"
    From my research, you can't run a rootdse search and sub to it's suffixes... at least without some hacking.
    Now on the SQLDeveloper side, we have the correct DN for where these searches should be happening listed under "DEFAULT_ADMIN_CONTEXT"
    Should we be seeing a search under the base defined under "DEFAULT_ADMIN_CONTEXT"?
    From the documentation located here I'd think so: http://docs.oracle.com/cd/B28359_01/network.111/b28317/ldap.htm
    "Use the DEFAULT_ADMIN_CONTEXT parameter to specify the default directory entry that contains an Oracle Context from which connect identifiers can be created, modified, or looked up."
    Any ideas folks?

    Hi rdwalker,
    Currently in SQLDeveloper we only support OID. Feature Request is
    "Retrieve Oracle connection from a LDAP other than the Oracle OID."
    If you want to vote on it (also name the LDAP software being used).
    SQL*Net allows LDAP connections via custom url which can be entered via SQLDeveloper connection type: Advanced -> Custom JDBC URL
    Turloch
    -SQLDeveloper Team

  • Minimum group membership for imp/exp for ora 8i(client)  windows xp users

    Hi to all,
    For oracle 8i clients, windows xp users, what is the minimum group membership required that can be used so that the users can import or export dmps. Using Administrators imp/exp works ok... Any alternative?
    Thanks

    Hi Thierry,
    Please do not confuse the issue. Here we have the windows Operating System - privilege and then the Oracle database user privilege. In my case the Oracle database user privilege is DBA. If the user is given a Windows - Administrators privilege (which I do want to give) the exp/imp creates the DMP and log file. But any other standard windows privilege (with DBA privilege) the exp/imp does not create the dmp and log file. I hope I am clear and now you can suggest some alternative solution to OS - administrator.
    Thanks again

Maybe you are looking for

  • No Accounting Documents generated

    Hi SAP Gurus, Plz tell me tht after doing billing , we release it to accounting.But after releasing ,error comes:- No Accounting documents generated. Plz clear the error with all t-codes. Best regards, Ankur

  • NFL Mobile support on Nexus?

    When will the NFL mobile app be updated for the Galaxy Nexus?

  • IDSM-2 web server crash

    Hi all, i'm experencing troubles with my twofold IDSM-2 sensor installation; the Web Server suddenly crashes, generating a core.XXXXX file in /usr/cids/idsRoot/core/cidwebserver directory. I never experienced this kind of error before; my sensors are

  • "-unable to validate this serial number-" – Moving CS6 software to new employee

    We just had a member of our team leave for a new job who we had upgraded from CS6 to CC a few months ago. We've been trying to install his "old" copy of CS6 on a new employee's machine using their (new) company Adobe ID but when entering the serial n

  • What do you do when the creative cloud will not update?

    Creative cloud will not update on my Mac.. therefore I cannot use InDesign. How can I get the Creative Cloud to update? I have tried un-installing and re-installing 3 different times now. Thank you.