SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


sys.xp_prop_oledb_provider


sys.xp_prop_oledb_provider

Author
Message
k.przewozniak
k.przewozniak
SSC Veteran
SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)SSC Veteran (271 reputation)

Group: General Forum Members
Points: 271 Visits: 290
Hello,

Can you explain me what are the consequences of granting users this permission:

GRANT EXECUTE ON sys.xp_prop_oledb_provider TO [USER]

I gave it to users in order to let him see Linked Servers Catalogs. Now I wonder it that is the only change of his permissions or does he get also something "extra" without my knowledge. w00t
pixye.sb
pixye.sb
Old Hand
Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)Old Hand (308 reputation)

Group: General Forum Members
Points: 308 Visits: 196
I have a problem in adding a linked server from sql 2005x64 to oracle.
I have created the linked server

EXEC sp_addlinkedserver
@server = 'job',
@srvproduct = 'Oracle',
@provider = 'OraOLEDB.Oracle',
@datasrc = 'tns'

and added a login

sp_addlinkedsrvlogin @rmtsrvname = 'job'
, @useself = 'false'
, @locallogin = 'opTrasp'
, @rmtuser = 'remUs'
, @rmtpassword = 'pwd'

but I have the error
The EXECUTE permission was denied on the object 'xp_prop_oledb_provider', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

in the test server, running sql 2000 instead of sql 2005) it worked without assigning any further permission to the local login.
Is it necessary? and is it 'dangerous', considering that it is a cluster with many critical databases of different suppliers?

Thanks in advance for your kind replies.
sb
jol1185
jol1185
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 108
I also needed to know what "xp_prop_oledb_provider" is all about? Can anyone help?

Are we granting another access to the user when we grant them additional execute permission in this procedure? Unsure
wama316
wama316
Grasshopper
Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)

Group: General Forum Members
Points: 15 Visits: 0
revisa este link

http://blogs.msdn.com/b/john_daskalakis/archive/2010/02/01/9956271.aspx

por ahi te dejo lo mas importante.

USE master;
Grant execute on sys.xp_prop_oledb_provider to login;
GO

(replace login with the actual login you are using that gets this error)

:-D
Jamie-2229
Jamie-2229
Hall of Fame
Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)

Group: General Forum Members
Points: 3906 Visits: 859
In my situation, we had a linked server that was accessed from the reports. The database had the correct permission through a linked server, the account that the reports used had the right permission, but the linked server was not setup to allow the report account through (the linked server). Once that account was added with impersonation to the linked server, the error went away.

Jamie
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search