我怎样才能找出服务器主机上我的Windows域LDAP? [英] How can I find out which server hosts LDAP on my windows domain?

查看:916
本文介绍了我怎样才能找出服务器主机上我的Windows域LDAP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个应用程序(C#)查询LDAP服务器。我不知道命名查询实际的服务器 - 有没有办法找出使用标准的Windows工具或一些在.NET?

I am trying develop an application (C#) to query an LDAP server. I don't know the actual server named to query - is there a way to find out using standard windows tools or something in .net?

我还听到传言说其服务器名称(LDAP://服务器/)并不总是需要的,只要我有DC =域,DC = com的我的查询字符串,但我这样到目前为止已经能够与它这样的工作方式。

I've also heard rumors that having the server name (ldap://server/) is not always needed as long as I've got dc=domain,dc=com in my query string, but I've so far been able to work with it this way.

任何提示?

感谢

推荐答案

如果您使用的是AD可以使用的服务器绑定以定位域控制器为默认域,然后使用LDAP:// RootDSE的获取有关目录服务器信息,在链接的文章中描述

If you're using AD you can use serverless binding to locate a domain controller for the default domain, then use LDAP://rootDSE to get information about the directory server, as described in the linked article.

这篇关于我怎样才能找出服务器主机上我的Windows域LDAP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆