Re: Oracle 9 NT Authentication "conn / as sysdba" - Role issue ?
- From: "Davep" <davepylatuk@xxxxxxxxxxxxxxxxxx>
- Date: 30 May 2006 05:12:21 -0700
So how to I do a connect and have the connect obey the database roles
assigned to the user ?
When I do a conn /, I get insufficient privilieges ?
Thanks
Sybrand Bakker wrote:
On 29 May 2006 10:36:19 -0700, "Davep"
<davepylatuk@xxxxxxxxxxxxxxxxxx> wrote:
Hello all.
I have succeeded in getting Oracle NT authentication working but am
having a related permission problem.
I create Oracle users in this format "OPS$JOHN" for example, as long as
I have a domain user named 'JOHN' in the domain the server is
running.... JOHN can connect to Oracle in SQL PLUS by typing:
conn / as sysdba;
The problem is that I have database roles to enforce DB security. User
JOHN is supposed to have only read only for a few tables. I have
previously enforced this by having a READ_ONLY role assigned to JOHN.
This has worked perfectly until now....
Now, once JOHN logs in with NT authentication as indicated above he has
read/write on all tables ? How do I have an NT login adhere to the DB
roles assigned to a user ?
Any help would be appreciated.
There are two forms of O/S authentication, and you are mixing them up.
Connect / looks at the presence of an OPS$<user> account.
Connect / as sysdba looks whether the user account is in the
ora_<sid>_dba group, disregarding any other groups.
And yes, when you 'connect / as sysdba', you *are* SYSDBA, once
connected, so you are more powerful than any user with the DBA role.
--
Sybrand Bakker, Senior Oracle DBA
.
- Follow-Ups:
- References:
- Oracle 9 NT Authentication "conn / as sysdba" - Role issue ?
- From: Davep
- Re: Oracle 9 NT Authentication "conn / as sysdba" - Role issue ?
- From: Sybrand Bakker
- Oracle 9 NT Authentication "conn / as sysdba" - Role issue ?
- Prev by Date: Re: Multiple Triggers of Same Type on Same Table?
- Next by Date: Re: Multiple Triggers of Same Type on Same Table?
- Previous by thread: Re: Oracle 9 NT Authentication "conn / as sysdba" - Role issue ?
- Next by thread: Re: Oracle 9 NT Authentication "conn / as sysdba" - Role issue ?
- Index(es):
Relevant Pages
|
|