Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Sharing a table between users in same NT group

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-02-12 : 09:15:09
Torsten writes "Hi
This is the case:
I'm having X users in my NT domain. A minor number of these is member og a NT Group: dbusers.
In SQL Server I have created a login for dbusers.
The dbusers has been granted rights to the database MYDB.

Now user Peter (member of the dbusers grouop) connects to SQL Server. He creates a table mytab, and becomes the owner of this table. Afterwards he grants select-rights to public and to dbusers.

Later on user Bob (also a member of dbusers) connects to SQL Server. The problem is: He cannot select from mytab. Neither from MYDB.Peter.mytab. In both case this error occours:
Server: Msg 208, Level 16, State 1, Line 1
Invalid object name 'mytab'.

What's wrong ?

Is it possibly for a GROUP to be owner of a table ? Or does it have to be one specific user, who is tableowner. How can other users make selects (and inserts etc) in that table ? Notice: The user has NOT got his own login, but i authorized to SQL Server via his NT GROUP account.

Pleas help

Torsten"

izaltsman
A custom title

1139 Posts

Posted - 2002-02-12 : 10:09:13
I know I've seen this before:

http://sqlteam.com/Forums/topic.asp?TOPIC_ID=12710

Go to Top of Page
   

- Advertisement -