How do I determine the name of the domain controller the Directory and Resource Administrator server (NETIQKB35168)

  • 7735168
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How do I determine the name of the domain controller the Directory and Resource Administrator server binds to using the DRA ADSI provider?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix

In order to determine which domain controller a particular Directory and Resource Administrator server binds to using the DRA OnePoint ADSI provider the following example can be used:

The $McsDcName field will include the NetBIOS name of the domain controller DRA is binding to.


set domain = GetObject("OnePoint://DRAserver/dc=mydomain,dc=com")
dc = domain.Get("$McsDcName")   

Now dc contains the name of the domain controller that DRA is talking to for the mydomain.com domain

'Create a path for binding in LDAP using a server bind
ldapPath = "LDAP://" & dc & "/dc=mydomain,dc=com"



Additional Information

Formerly known as NETIQKB35168