in reply to Re^4: Win32API::Net::GetDCName returns error code 87 for remote servers
in thread Win32API::Net::GetDCName returns error code 87 for remote servers
Take another look at https://technet.microsoft.com/en-us/library/cc738412(v=ws.10).aspx; in particular the bit that says:
For example, when you attempt to connect to a computer called CORPSERVER, the NetBIOS name corresponding to the File and Printer Sharing for Microsoft Networks service on that computer is:CORPSERVER [20]
Note the use of spaces to pad the computer name. Before you can establish a file and print sharing connection, a TCP connection must be created. In order for a TCP connection to be established, the NetBIOS name "CORPSERVER [20]" must be resolved to an IP address.
Which suggests to me you need to include the numbers in brackets at the end also. Ie. "BW2012R2 <00>".
The difference/meaning between your output containing <nn> and the example containing [nn] is something you'll have to resolve through trial and error.
|
|---|