详细信息:假设我在域A中,我有用户凭据对于与域A具有信任关系的域B(我可以验证凭据)。 当我所有的域名都是来自该域的一些身份验证用户的凭据(包括netbios域名)时,如何获取域B的FQDN?
我是C#中的编码,但COM / WMI / Win32解决方案也将受到欢迎。
解决方案这可能不是最佳的,但是看起来您可以使用NetBIOS名称查询来获取IP地址,然后执行反向DNS查找以从该...获取FQDN ...
www.protocolbase/protocols/protocol_NBNS.php
(反向DNS步骤很容易查找)
In short - How do I translate a NETBIOS domain to a FQDN ?
Details: Assuming I'm in domain A and I have user credentials for domain B which has a trust relationship with domain A (I can authenticate the credentials). How do I get domain B's FQDN when all I have are the credentials of some authenticated user from that domain, including the netbios domain name?
I'm coding in C# but a COM/WMI/Win32 solution would be welcomed as well.
解决方案This probably isn't optimal, but it look like you could do a NetBIOS name query to get an IP address, and then do a reverse DNS lookup to get an FQDN from that...
www.protocolbase/protocols/protocol_NBNS.php
(The reverse DNS step is easy to look up)
更多推荐
将NETBIOS域转换为FQDN(完全限定域名)
发布评论