Re: User added via group membership
anonymous_at_discussions.microsoft.com
Date: 07/21/04
- Next message: Matthew: "Re: db_ddladmin role without 'drop' capability"
- Previous message: Jeff Cochran: "Re: How to prevent 'sa' from 'hacking' Windows Server ?"
- In reply to: Hari Prasad: "Re: User added via group membership"
- Next in thread: Dan Guzman: "Re: User added via group membership"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 21 Jul 2004 08:56:04 -0700
Thanks, but I think you misunderstood my question.
>-----Original Message-----
>Hi,
>
>First you have add the Windows user to Access the SQL
server.
>
>EXEC sp_grantlogin 'domain\windowslogin'
>
>After that create a database user to access the database.
>
>use <dbname>
>go
>EXEC
sp_grantdbaccess 'domain\windowslogin', 'username_in_databa
se'
>
>After this grant execute previlage to this user for that
procedure
>
>GRANT EXECUTE ON <procedure> to <user_name_in_database>
>
>
>Registering in Enterprise manager:
>
>1. Login to OS using that domain user
>2. Right click regisrter and use windows authentication
>
>Now it will allow you to register the server
>
>Thanks
>Hari
>MCDBA
>
>
>
>"Colleen" <anonymous@discussions.microsoft.com> wrote in
message
>news:140901c46f2c$65fa6790$a401280a@phx.gbl...
>> I just stumbled upon something I thought was odd.
>>
>> I created a stored procedure and issued 'GRANT EXECUTE
ON
>> <procedure> to <domain\windowslogin>. The login did not
>> exist on the server but it added a user into the
>> database 'via group membership'. The user later tried
to
>> register the server in Enterprise Manager and of course
>> got an error that he didn't have a login. Why would it
>> allow the GRANT if it's not a valid login? How would
they
>> be able to execute the procedure without a valid login?
>>
>>
>
>
>.
>
- Next message: Matthew: "Re: db_ddladmin role without 'drop' capability"
- Previous message: Jeff Cochran: "Re: How to prevent 'sa' from 'hacking' Windows Server ?"
- In reply to: Hari Prasad: "Re: User added via group membership"
- Next in thread: Dan Guzman: "Re: User added via group membership"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|