Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Some question about FixServerRoleMember

 
   Database Forums (Home) -> Security RSS
Next:  DistinctCount for custom members  
Author Message
HoneyChris

External


Since: Jun 09, 2005
Posts: 4



(Msg. 1) Posted: Wed Aug 03, 2005 10:55 pm
Post subject: Some question about FixServerRoleMember
Archived from groups: microsoft>public>sqlserver>security (more info?)

Hello Everyone


i am sorry to send this mail again, i need a hand, thanks everyone



i meet a stranger problem when i use sqlserver fix ServerRoleMember.


For example:

first i login sqlserver as SA,and add a new login

EXEC sp_addlogin 'NewLogin'

then i add this new login into FixServerRoleMember securityadmin

EXEC sp_addsrvrolemember 'NewLogin', 'securityadmin'



Commonly the "NewLogin" will have permission to execute sp_addlogin

but in my customer's server(windows 2000 server and sqlserver 2000
enterprise),the answer is false, i don't know why, i never meet this problem
before.


When Newlogin exec sp_addlogin 'someone' , sqlserver will answer: you
have no permission to execute sp_addlogin



This is the Error Message From sqlserver

Server:Msg 229 Level 14,State 5 Procedure sp_addlogin Line 126
Execute Permission denied on object 'sp_addlogin' Database
'master',owner 'dbo'



does anyone know what can cause this problem , thank you all the time .




--
Best Regards
Chris

 >> Stay informed about: Some question about FixServerRoleMember 
Back to top
Login to vote
Dan Guzman1

External


Since: Aug 22, 2004
Posts: 469



(Msg. 2) Posted: Wed Aug 03, 2005 10:55 pm
Post subject: Re: Some question about FixServerRoleMember [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It looks like your customer removed the public execute permissions on this
proc. This will prevent securityadmin role members from executing the proc.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"HoneyChris" wrote in message

> Hello Everyone
>
>
> i am sorry to send this mail again, i need a hand, thanks everyone
>
>
>
> i meet a stranger problem when i use sqlserver fix ServerRoleMember.
>
>
> For example:
>
> first i login sqlserver as SA,and add a new login
>
> EXEC sp_addlogin 'NewLogin'
>
> then i add this new login into FixServerRoleMember securityadmin
>
> EXEC sp_addsrvrolemember 'NewLogin', 'securityadmin'
>
>
>
> Commonly the "NewLogin" will have permission to execute sp_addlogin
>
> but in my customer's server(windows 2000 server and sqlserver 2000
> enterprise),the answer is false, i don't know why, i never meet this
> problem
> before.
>
>
> When Newlogin exec sp_addlogin 'someone' , sqlserver will answer: you
> have no permission to execute sp_addlogin
>
>
>
> This is the Error Message From sqlserver
>
> Server:Msg 229 Level 14,State 5 Procedure sp_addlogin Line 126
> Execute Permission denied on object 'sp_addlogin' Database
> 'master',owner 'dbo'
>
>
>
> does anyone know what can cause this problem , thank you all the time .
>
>
>
>
> --
> Best Regards
> Chris
>
>
>
>
>
>
>
>
>
>
>

 >> Stay informed about: Some question about FixServerRoleMember 
Back to top
Login to vote
HoneyChris

External


Since: Jun 09, 2005
Posts: 4



(Msg. 3) Posted: Thu Aug 04, 2005 1:55 am
Post subject: Re: Some question about FixServerRoleMember [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

That's very kind of you

I will check this issue immediate



--
Best Regards
Chris






"Dan Guzman" дÈëÓʼþ

> It looks like your customer removed the public execute permissions on this
> proc. This will prevent securityadmin role members from executing the
proc.
>
> --
> Hope this helps.
>
> Dan Guzman
> SQL Server MVP
>
> "HoneyChris" wrote in message
>
> > Hello Everyone
> >
> >
> > i am sorry to send this mail again, i need a hand, thanks everyone
> >
> >
> >
> > i meet a stranger problem when i use sqlserver fix ServerRoleMember.
> >
> >
> > For example:
> >
> > first i login sqlserver as SA,and add a new login
> >
> > EXEC sp_addlogin 'NewLogin'
> >
> > then i add this new login into FixServerRoleMember securityadmin
> >
> > EXEC sp_addsrvrolemember 'NewLogin', 'securityadmin'
> >
> >
> >
> > Commonly the "NewLogin" will have permission to execute sp_addlogin
> >
> > but in my customer's server(windows 2000 server and sqlserver 2000
> > enterprise),the answer is false, i don't know why, i never meet this
> > problem
> > before.
> >
> >
> > When Newlogin exec sp_addlogin 'someone' , sqlserver will answer:
you
> > have no permission to execute sp_addlogin
> >
> >
> >
> > This is the Error Message From sqlserver
> >
> > Server:Msg 229 Level 14,State 5 Procedure sp_addlogin Line 126
> > Execute Permission denied on object 'sp_addlogin' Database
> > 'master',owner 'dbo'
> >
> >
> >
> > does anyone know what can cause this problem , thank you all the time
..
> >
> >
> >
> >
> > --
> > Best Regards
> > Chris
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
 >> Stay informed about: Some question about FixServerRoleMember 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
MYSQL Question - Hello All: Don't know where else to post this so i am hoping someone here might have some info. Early this afternoon, we noticed a spike in our bandwidth. A closer look show one of our web servers in the DMZ as the culprit. Looking at the connections...

Index question - When I have tables with small rows and few rows, are indexes needed? ex: the U.S. federal government numbers every county in the USA. In my state there are 100 counties. Create Table Counties ( CountyCode smallint, CountyName VarChar(30), Region ...

question about logins - Hi, i created at general database level a login 'Network service' (windows server 2003). At level of 'mydb' database, i created an user 'aspnet' and i associated it to the login 'Network service'. That user 'aspnet' receives the necessary schemas..

"dbo" schema permissions question. - I have some ASP.NET 2.0 code executing SqlDependency.Start(connectionstring) to a SQL 2005 database and I am getting the following error: System.Data.SqlClient.SqlException: The specified schema name "dbo" either does not exist or you do not h...

SQL Server Security Question - Hi, One of my clients is looking for a encryption tool for SQL Server to make data, data files and backup files unavailable to unauthorized users AND DBAs. DBAs should still be able to perform administrative tasks but not query the data. Their curren...
   Database Forums (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]