Oracle, ASP and Authentication

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Oracle, ASP and Authentication

    Hello,
    i've wrote an ASP to connect to our Ora9i DB via ADODB:

    <--- snip --->
    set db=server.createobject("adodb.connection")
    db.connectionstring="driver={Microsoft ODBC for
    Oracle};ConnectString=mydb;Uid=me;Pwd=MyPwd"
    db.open
    <--- snip --->

    it works... but now i want to use operating system authentication. if i use
    the authentication on MS SQL i write:

    db.connectionstring="driver={SQL Server};TRUSTED_CONNECTION=yes ....."

    but the trusted_connection parameter dont work with the oracle driver. what
    i have to use ?

    Thanks
    Ralf






    Ralf Pelzl Guest

  2. Similar Questions and Discussions

    1. Oracle Table Access With Oracle OLEDB Driver
      If I use the Oracle client to access the Oracle database with DW 2004, it does not display any tables. If I use the Microsoft client it does work. ...
    2. [Macromedia][Oracle JDBC Driver][Oracle]ORA-01000:maximum open cursors exceeded
      Here is the technote from Macromedia regarding this issue: http://www.macromedia.com/go/tn_17660 Hope this helps!
    3. #13053 [Com]: oci8 error, this kill oracle-prosseces in the oracle-instance.
      ID: 13053 Comment by: gid at gifpaste dot net Reported By: jsun at basefarm dot no Status: Bogus Bug Type: ...
    4. #25096 [NEW]: Oracle external authentication not supported
      From: ljocha at ics dot muni dot cz Operating system: any PHP version: 4.3.2 PHP Bug Type: OCI8 related Bug description: ...
    5. New 'Oracle Express / Oracle 9i OLAP' White Paper Available For Download
      Plus Consultancy (http://www.plusconsultancy.co.uk) recently presented a white paper entitled "Express Evolution - What Oracle 9i OLAP Offers The...
  3. #2

    Default Re: Oracle, ASP and Authentication

    On Fri, 4 Jun 2004 20:15:19 +0200, "Ralf Pelzl" <ralf.pelzl@cablelink.de> wrote:
    >Hello,
    >i've wrote an ASP to connect to our Ora9i DB via ADODB:
    >
    ><--- snip --->
    >set db=server.createobject("adodb.connection")
    >db.connectionstring="driver={Microsoft ODBC for
    >Oracle};ConnectString=mydb;Uid=me;Pwd=MyPwd"
    >db.open
    ><--- snip --->
    >
    >it works... but now i want to use operating system authentication. if i use
    >the authentication on MS SQL i write:
    >
    >db.connectionstring="driver={SQL Server};TRUSTED_CONNECTION=yes ....."
    >
    >but the trusted_connection parameter dont work with the oracle driver. what
    >i have to use ?
    >
    >Thanks
    >Ralf
    >
    >
    >
    >
    >
    2 Things..

    The way you use OS authentication is very, very different in Oracle...Read the docs about how to set it up ( it needs to
    be configured on the database server...) - ask your DBA

    For any connection you should use
    a DSN-less connection, not ODBC...


    hth




    Turkbear Guest

  4. #3

    Default Re: Oracle, ASP and Authentication

    Hi,
    thanks for answer. The operating system authentication runs on the server
    and works already. Every (Oracle) client can connect without a Uid/Pwd. My
    question is: What Parameter i have to set to use the operating system
    authentication when i try to connect to the DB via ADODB. When i connect to
    a MS SQL database i can use the TRUSTED_CONNECTION parameter. What parameter
    i use for an Oracle database ?


    "Turkbear" <noone@nowhere.com> schrieb im Newsbeitrag
    news:fdl1c0tngf1qrc5j3dm4g3udntobn9jcg7@4ax.com...
    > On Fri, 4 Jun 2004 20:15:19 +0200, "Ralf Pelzl" <ralf.pelzl@cablelink.de>
    wrote:
    >
    > >Hello,
    > >i've wrote an ASP to connect to our Ora9i DB via ADODB:
    > >
    > ><--- snip --->
    > >set db=server.createobject("adodb.connection")
    > >db.connectionstring="driver={Microsoft ODBC for
    > >Oracle};ConnectString=mydb;Uid=me;Pwd=MyPwd"
    > >db.open
    > ><--- snip --->
    > >
    > >it works... but now i want to use operating system authentication. if i
    use
    > >the authentication on MS SQL i write:
    > >
    > >db.connectionstring="driver={SQL Server};TRUSTED_CONNECTION=yes ....."
    > >
    > >but the trusted_connection parameter dont work with the oracle driver.
    what
    > >i have to use ?
    > >
    > >Thanks
    > >Ralf
    > >
    > >
    > >
    > >
    > >
    >
    > 2 Things..
    >
    > The way you use OS authentication is very, very different in Oracle...Read
    the docs about how to set it up ( it needs to
    > be configured on the database server...) - ask your DBA
    >
    > For any connection you should use
    > a DSN-less connection, not ODBC...
    >
    >
    > hth
    >
    >
    >
    >

    Ralf Pelzl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139