使用什么API可以远程更改Windows帐户信息?
有哪些 API 可用于远程更改 Windows 帐户密码?假设我有正确的凭据来更改 Windows 帐户,我需要编写可以远程执行此操作的软件。
该软件将在 Linux 上运行,到目前为止,SMB< /a> 可能在这方面有一些功能,但我需要 API、库、代码,甚至是正确的关键字来帮助我找出如何搜索解决方案或解决此问题的方法。
What API is available to change windows account passwords remotely? Assuming I have the proper credentials to change the windows accounts, I need to write software that can do so remotely.
The software will run on Linux, and so far it appears that SMB may have some functionality in this area, but I need either an API, library, code, or even the right key words to help me figure out how to search for solutions or an approach to solving this problem.
I've found Wmi client on Linux but as far as I understand there seems to be issues with it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试:
您可以使用 wmi-client,但另一方面这在带有域控制器的 Windows 2008 服务器上不起作用,并且密码在网络中传递时未经加密。
Try:
You can use wmi-client, but on the other hand that does not work on windows 2008 server with domain controller and the password is passed in the network without encryption.
Samba 中的 smbpasswd 命令允许您更改远程计算机上的密码。例如,
您应该能够从您最喜欢的编程语言中调用该命令; Samba 的下一个版本将有一些 Python API,可能也允许您在 Python 中执行此操作。
The smbpasswd command that is part of Samba allows you to change the password on remote machines. E.g.
You should be able to just invoke that command from your favorite programming language; the next version of Samba will have some Python APIs that probably also allow you to do this from within Python.