Export (0) Print
Expand All

4.1.3.4.1 Initial State

Querying the nTDSDSAobjects for the root domainNC DC=CONTOSO, DC=COM for DC1 and DC2 respectively:

  • ldap_search_s("CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com", baseObject, "(objectClass=*)", [objectClass, cn, distinguishedName, objectGUID, msDS-Behavior-Version])

  • Result <0>: (null)

  • Matched DNs:

  • Getting 1 entries:

  • >> Dn: CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com

    3> objectClass: top; applicationSettings; nTDSDSA;

    1> cn: NTDS Settings;

    1> distinguishedName: CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com;

    1> objectGUID: c20bc312-4d35-4cc0-9903-b1073368af4a;

    1> msDS-Behavior-Version: 2 = (DS_BEHAVIOR_WIN2003);

  • ldap_search_s("CN=NTDS Settings,CN=DC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com", baseObject, "(objectClass=*)", [objectClass, cn, distinguishedName, objectGUID, msDS-Behavior-Version])

  • Result <0>: (null)

  • Matched DNs:

  • Getting 1 entries:

  • >> Dn: CN=NTDS Settings,CN=DC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com

    3> objectClass: top; applicationSettings; nTDSDSA;

    1> cn: NTDS Settings;

    1> distinguishedName: CN=NTDS Settings, CN=DC2, CN=Servers, CN=Default-First-Site-Name, CN=Sites, CN=Configuration, DC=contoso, DC=com;

    1> objectGUID: 6aad8f5a-07cc-403a-9696-9102fe1c320b;

    1> msDS-Behavior-Version: 2 = (DS_BEHAVIOR_WIN2003)

 
Show:
© 2014 Microsoft