Solved

sp_helprotect on windows logins

Posted on 2010-08-18
10
730 Views
Last Modified: 2012-05-10
when i run the following,
EXEC sp_helprotect NULL, 'DOMAIN\USERNAME'
i get
Msg 15330, Level 11, State 1, Procedure sp_helprotect, Line 291
There are no matching rows on which to report.

even though the windows login is registered as a login on the instance.

will this sp work for windows logins?

thanks
0
Comment
Question by:anushahanna
  • 5
  • 5
10 Comments
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 33465213
Can you post the exact text of your query please.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33465481
use master
EXEC sp_helprotect NULL, 'SRBSV\jimw'
0
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 33465602
Try:
use master
EXEC sp_helprotect NULL, 'jimw'
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33465653
same error.
0
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 33465769
In the following link you can see an example identical to yours (ex. B): http://msdn.microsoft.com/en-us/library/ms190310.aspx

Given that, I'd say that the username being used 'jimw' must not be a valid username for 'master'.  Is that your user name?  If not, try the same command using yours instead.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 6

Author Comment

by:anushahanna
ID: 33466382
i tried a couple of logins, all same issue.

jimw is valid used in user database.
we use master because that is where the sp is..
0
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 33466472
Did you verify that 'jimw' has actually performed queries sucessfully on master?  I know it is a pretty obvious question...just want to be thorough.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33468850
OK. JimW is a valid use in Tracker database. I do not see him as an user in MASTER, though. is that the problem? it is looking in the wrong place?
0
 
LVL 15

Accepted Solution

by:
David L. Hansen earned 500 total points
ID: 33468877
Yes.  That is a problem.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33477188
Thanks for your help. that was it.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now