title: 2 line Active Directory call fails for offshore contractors using VPN to connect to our company network
body: <p>we have offshore contractors that are tryingt o run an app that performs the following Active Directory call, shown below in VB.NET</p>
  
  <pre><code>  Dim objRootDSE As New DirectoryEntry("LDAP://RootDSE")
    Return "GC://" &amp; Replace(Replace(objRootDSE.Properties("rootDomainNamingContext").Value().ToString, ",", "."), "DC=", "") 'DC=uis,DC=unisys,DC=com  
  </code></pre>
  
  <p>The code returns an error on the function return line, indicating that it could not contact the server, which, when it works for me locally, is "DC=uis,DC=unisys,DC=com "</p>
  
  <p>The contractors connect to our company's internal network via VPN and in general have access to the full  network, so I don't know why they shouldn't be able to contact this server.</p>
  
  <p>Other offshore users in other locations have no problem with the same code.</p>
  
  <p>I know almost nothing about AD. Can someone give me a clue?</p>