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.


本文转自9pc9com博客,原文链接:     http://blog.51cto.com/215363/800490    如需转载请自行联系原作者
相关文章
mac上datagrip.vmoptions文件编辑错误导致DataGrip软件打不开
mac上datagrip.vmoptions文件编辑错误导致DataGrip软件打不开
|
前端开发 BI C#
手麻系统源码,C# .net 桌面软件,采用下拉式汉化菜单,界面友好,实用性强
提供手术病人检索、手术申请、手术安排、急诊手术,查看手术申请单、查看手术通知单,填写病人术前会诊记录、谈话记录、麻醉记录,器械准备、手术记录、附加手术、器械清点及术后护理信息等功能。 提供手术查询、手术报表查询、术后信息统计等查询功能。
192 0
手麻系统源码,C# .net 桌面软件,采用下拉式汉化菜单,界面友好,实用性强
|
开发工具 git Windows
好工具推荐系列:Windows打开CMD命令的快捷键/代理上网的方法/Cmder
好工具推荐系列:Windows打开CMD命令的快捷键/代理上网的方法/Cmder
697 0
|
测试技术 数据安全/隐私保护
|
关系型数据库 MySQL 数据库
|
Oracle 关系型数据库 机器学习/深度学习