
Getting the NETBIOS name of a DNS-style domain
Given the DNS-style name of a domain (e.g., "dc=microsoft,dc=com"), how do I
retrieve the NETBIOS name of the domain. I know how to get the NETBIOS
domain name of a server, so being able to get a domain controller would be a
possible solution to my problem. I looked into 'DsGetDcName' but this only
works if the computer is Win2k, and I don't want to limit my program to
that. Also, I don't think it works with VB. Is there some way to
accomplish what I want using ADSI or some other mechanism? Thanks in
advance.
-Erick Jensen
Unisys Corporation