c++ - DNS name from NetBIOS name - API function -


is there any api function can resolve netbios name of user or group directory object.

i need output in following formats:

  1. namefullyqualifieddn - example: cn=john smith,ou=users,dc=engineering,dc=microsoft,dc=com
  2. namednsdomain - example: engineering.microsoft.com\jsmith
  3. any other format gives dns domain name.

note : translatename function failing while giving name shown below: win2008domainnetbiosname\username.

thanks

you can use iadsnametranslate or dscracknames achieve this.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -