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:
- namefullyqualifieddn - example: cn=john smith,ou=users,dc=engineering,dc=microsoft,dc=com
- namednsdomain - example: engineering.microsoft.com\jsmith
- 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
Post a Comment