adsi与 adfind工具

简介:
Do you need to quickly find the GUID id from the Active Directory without have to write some complex code just to get the GUID id.
Solution 1: You can use Windows Server 2003 ADSI (Active Directiory Services Interface) Edit tool to get the GUID or SID value.
ADSI Edit (adsidedit) is one of Windows Server 2003's support tools. So if you don't have you can install it from the CD.
Solution 2: You can use Adfind to get this GUID or SID value
Get GUID value:
1. First download the Adfind tool.
2. In command prompt execute adfind -b dc=yourdomain,dc=yourdomain,dc=org -f (sAMAccountName=Cymbaline) objectGUID
EG. C:\Program Files\adfind>adfind -b dc=yourdomain,dc=yourdomain,dc=org -f (sAMAccountName=Cymbaline) objectGUID
Get SID: value:
C:\Program Files\adfind>adfind -b dc=yourdomain,dc=yourdomain,dc=org -f (sAMAccountName=Cymbaline) objectGUID
You can do many more with this tool, look in the help to see what else you can do.


本文转自 bilinyee博客,原文链接:   http://blog.51cto.com/215363/800490      如需转载请自行联系原作者
相关文章
|
6月前
SecureCRT 取消右击粘贴功能
SecureCRT 取消右击粘贴功能
353 0
怎样将Beyond Compare添加到系统右键菜单
怎样将Beyond Compare添加到系统右键菜单
1224 0
|
Oracle 关系型数据库 机器学习/深度学习
解决win10 关键错误开始菜单和cortana无法工作 的问题(转-真的成功了)
问题描述: 一次强制关机后出现了这个对话框,注销、重启均无法解决问题 解决过程[因为我用的英文版操作系统,所以截图都是英文,请大家自行对照自己的操作系统]: 1.ctrl+alt+del 打开任务管理器 并切换到 services 选项卡 2.
924 0
|
数据安全/隐私保护
cmd命令写多个打开远程桌面的bat文件方便工作
如下图: 工作中,有各种各样的测试服务器,我们要部署应用,怎么方便秒连远程桌面呢,每次都找 远程桌面->然后再输入服务器ip ?这种方法虽然也可以,终究是慢人一拍,我来告诉你怎么弄。
2136 0
右键菜单管理---右键管家
软件:http://dlsw.baidu.com/sw-search-sp/soft/6c/12067/MenuMgr1.1.0.0.2076672245.exe 当  文件夹--资源管理器禁用时,ftp目录下的文件夹双击会提示以下错误   取消 资源管理器 的禁用之后,双击打开正常.
1032 0