Re: dbo issues
From: Russell Fields (rlfields_at_sprynet.com)
Date: 08/29/03
- Next message: Russell Fields: "Re: need help with login permission"
- Previous message: Evil: "need help with login permission"
- In reply to: Paul Fell: "dbo issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 29 Aug 2003 08:55:28 -0400
Paul,
I assume that the database owner (in database properties) is 'sa'. At least
that is what most people do. The database owner account is what maps to the
dbo user, thus automatically creating 'dbo' owned objects. If it was some
other name, like 'penzina', then that name would map to the dbo user
When you say that you set up ClientsMaxcor as dbo, I assume you to actually
mean that they are in the db_owner role. This gives them dbo equivalent
power, but it does not change what user they are. Therefore, they are still
themselves and will create 'mylogin' owned objects.
That is why the guidance since 7.0 was to include the object owner
(sometimes called schema) name in all create and manipulation statements.
So, I believe that you will need to train your users to be explicit.
Russell Fields
"Paul Fell" <penzina@iinet.net.au> wrote in message
news:bea9531b.0308281840.14abaf17@posting.google.com...
> SQL Server 2000
> Win 2000 Server
>
> Our security in SQL Server is governed by User Groups in Wind2K. For
> example we have a user group called ClientsMaxcor with several of our
> users included in this Windows Group Account. This account uses
> Windows authentication to log on to the SQL Server and the database in
> which they have responsibility. We have setup dbo (and public) for
> this account for this database.
>
> The problem is that when the users create an object it gets prefixed
> with their group account name login instead of dbo. How can I set this
> account so that dbo is always used as owner of the object(s). The
> Group account as not been given any server based roles.
>
> Any help much appreciated.
>
> Paul
- Next message: Russell Fields: "Re: need help with login permission"
- Previous message: Evil: "need help with login permission"
- In reply to: Paul Fell: "dbo issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|