Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Connecting using Olog() as sysdba

Re: Connecting using Olog() as sysdba

From: AnySQL (d.c.b.a) <anysql_at_gmail.com>
Date: 14 Jun 2005 22:55:52 -0700
Message-ID: <1118814952.749433.246100@z14g2000cwz.googlegroups.com>


(ub4)OCI_LM_DEF|OCI_SYSDBA

mydevnull_at_fastmail.fm wrote:
> Hi there,
>
> I am using an old 7.x library call olog() to connect to Oracle. All is
> fine except I can't connect as sysdba. Basically, I have this call:
>
> r = olog(&lda, (ub1 *) hda, buf, -1, (text *) 0, -1,
> (text *)0, -1, (ub4)OCI_LM_DEF);
>
> which works if buf is "scott/tiger_at_orcl" etc, but does Not work if buf
> is "sys/syspass_at_orcl as sysdba" .
>
> How do I connect as sysdba using olog()? I need to look inside
> dba_users and the client is on a remote machine. The targets are Oracle
> 7i, 8i, 9i, and 10i EE. I have checked that 10i doesn't allow sys
> without sysdba while 8i does.
>
> Any help will be really useful.
>
> Thanks,
> Vinay.
Received on Wed Jun 15 2005 - 00:55:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US