Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to use both 'connect / as sysdba' and OS authentication?
Obviously I made a hash of my explanation. Sorry.
What I referred to as OS authentication is perhaps called externally authenticated users? Anyway, what I meant was I can connect using sqlplus thusly: 'sqlplus /@baldodb'. This works because I have an externally authenticated db user named <prefix><osuser> (as per your rasputin example)
Let me try asking my question in a different way:
If (sqlnet.authentication_services=none) then
'sqlplus /@baldodb' works
'connect / as sysdba' doesn't
end if ;
If (sqlnet.authentication_services=nts) then
'connect / as sysdba' works
'sqlplus /@baldodb' doesn't
end if ;
How can I make both work at the same time?
-
Baldo
"Howard J. Rogers" wrote:
> "Baldo" <dana.stockler_at_twobits.no> wrote in message
> news:3AA38115.7B0E4420_at_twobits.no...
> > (Sorry if this turns up twice. We've had problems with our news server.)
> >
> > I've been using OS authentication for quite a few years now
> > and can't live without it. Oracle says I have to stop using 'connect
> > internal' and start using 'connect / as sysdba'. Fair enough.
> >
> > What's got me scratching my old bald head is how to use them
> > both at the same time.
> >
> > On my Windows NT4/SP6 / Oracle 8.1.7 box:
> >
> > If I set SQLNET.AUTHENTICATION_SERVICES=NONE
> > in the sqlnet.ora file (or remove it entirely), then OS authentication
> > works okay, but 'connect / as sysdba' results in 'ORA-01031:
> > insufficient privileges'.
>
>
>
>
>
>
>> > but OS authentication results in 'ORA-01017: invalid username/
> >
> > If I set SQLNET.AUTHENTICATION_SERVICES=NTS
> > in the sqlnet.ora file, then 'connect / as sysdba' works okay,
>
>> > think my old ticker could take it.
> >
> > Could some kind soul please tell me how I can use the new
> > 'connect / as sysdba' functionality while retaining the use of
> > OS authentication? Please don't tell me it can't be done. I don't
>
>
>> >
> > TIA,
> > Baldo
![]() |
![]() |