• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: 小 中 大 | 推荐给好友 上一篇 | 下一篇

调用MSSQLSERVER的系统过程xp_cmdshell发生错误:xpsql.cpp: 错误 来自 GetProxyAccount

发布: 2007-7-02 11:08 | 作者: admin | 来源: | 查看: 42次 | 进入软件测试论坛讨论

领测软件测试网 --消息 50001,级别 1,状态 50001
--xpsql.cpp: 错误 87 来自 GetProxyAccount(第 604 行)

打开SQLSERVER的企业管理器,进入“管理”,右键点击“Sql Server代理”点击属性;
首先你要“允许非SysAdmin权限的用户执行CmdExec.....”,然后指定一个账号。
不过,你需要意识到这样做所存在的安全上的风险。

有关英文回复:
You don@#t have to use a domain account.  When you go into the  "job system" properties on your sql agent, click the "reset proxy account".  it will ask you for a new user/password and domain.  For the domain, just put the name of the local server (of course, that account has to exist on the local server).
Also, I@#m sure you know what the risk is by allowing non-syadmins the ability to execute XP_CMDSHELL....

可以使用下面的语句来获取当前的代理所使用的账号:
exec master.dbo.xp_sqlagent_proxy_account N@#GET@#

可以使用下面的语句来设置当前的代理所使用的账号:
exec master.dbo.xp_sqlagent_proxy_account N@#SET@#,N@#域名@#, N@#账号名@#, N@#密码@#

It generally indicates that either the SQL Agent account is
not a local admin account so it can@#t access the information
on the proxy account or you haven@#t set up a proxy account.

You can execute the following to get the proxy account:
exec master.dbo.xp_sqlagent_proxy_account N@#GET@#
If it doesn@#t return anything, you need to create the proxy
account.
You can set the proxy account with:
exec master.dbo.xp_sqlagent_proxy_account N@#SET@#,
N@#DomainName@#, N@#UserName@#, N@#Password@#


消息 50001,级别 1,状态 50001
xpsql.cpp: 错误 1326 来自 LogonUserW(第 620 行)

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:[email protected] 电话:010-51297073

软件测试 | 领测国际 | ISTQB | ISTQB官网 | TMMi | TMMi认证 | 国际软件测试工程师认证 | 领测软件测试网