4.1.29.4.1 Initial State
Querying the DC1 computer object in domain NC DC=CONTOSO, DC=COM by performing an LDAP search with base scope on the DN "CN=DC1,OU=Domain Controllers,DC=contoso,DC=com":
Expanding base 'CN=DC1,OU=Domain Controllers,DC=contoso,DC=com'...
Result <0>: (null)
Matched DNs:
Getting 1 entries:
>> Dn: CN=DC1,OU=Domain Controllers,DC=contoso,DC=com
5> objectClass: top; person; organizationalPerson; user; computer;
1> cn: DC1;
1> distinguishedName: CN=DC1, OU=Domain Controllers, DC=contoso, DC=com;
1> instanceType: 0x4 = ( IT_WRITE );
1> whenCreated: 07/10/2006 18:04:35 Pacific Standard Daylight Time;
1> whenChanged: 07/15/2006 19:39:05 Pacific Standard Daylight Time;
1> uSNCreated: 12291;
1> uSNChanged: 24577;
1> name: DC1;
1> objectGUID: ac1993e1-0377-4161-893e-ccd2a98e1bba;
1> userAccountControl: (UF_SERVER_TRUST_ACCOUNT | UF_TRUSTED_FOR_DELEGATION );
1> badPwdCount: 0;
1> codePage: 0;
1> countryCode: 0;
1> badPasswordTime: 01/01/1601 00:00:00 UNC ;
1> lastLogoff: 01/01/1601 00:00:00 UNC ;
1> lastLogon: 07/17/2006 19:47:40 Pacific Standard Daylight Time;
1> localPolicyFlags: 0;
1> pwdLastSet: 07/10/2006 18:04:35 Pacific Standard Daylight Time;
1> primaryGroupID: 516;
1> objectSid: S-1-5-21-254470460-2440132622-709970653-1001;
1> accountExpires: 09/14/30828 02:48:05 UNC ;
1> logonCount: 17;
1> sAMAccountName: DC1$;
1> sAMAccountType: 805306369;
1> operatingSystem: Windows Server 2003 operating system;
1> operatingSystemVersion: 5.2 (3790);
1> operatingSystemServicePack: Service Pack 1;
1> serverReferenceBL: CN=DC1,CN=Servers, CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com;
1> dNSHostName: DC1.contoso.com;
1> rIDSetReferences: CN=RID Set,CN=DC1,OU=Domain Controllers, DC=contoso, DC=com;
15> servicePrincipalName: ldap/DC1.contoso.com/NDNC5.contoso.com; ldap/DC1.contoso.com/NDNC2.contoso.com; ldap/DC1.contoso.com/NDNC1.contoso.com; GC/DC1.contoso.com/contoso.com; HOST/DC1.contoso.com/CONTOSO; HOST/DC1; HOST/DC1.contoso.com; HOST/DC1.contoso.com/contoso.com; E3514235-4B06-11D1-AB04-00C04FC2DCD2/c20bc312-4d35-4cc0-9903-b1073368af4a/contoso.com; ldap/c20bc312-4d35-4cc0-9903-b1073368af4a._msdcs.contoso.com; ldap/DC1.contoso.com/CONTOSO; ldap/DC1; ldap/DC1.contoso.com; ldap/DC1.contoso.com/contoso.com; NtFrs-88f5d2bd-b646-11d2-a6d3-00c04fc9b232/DC1.contoso.com;
1> objectCategory: CN=Computer, CN=Schema, CN=Configuration, DC=contoso, DC=com;
1> isCriticalSystemObject: TRUE;
1> frsComputerReferenceBL: CN=DC1, CN=Domain System Volume (SYSVOL share),CN=File Replication Service,CN=System,DC=contoso,DC=com;
1> lastLogonTimestamp: 07/11/2006 04:02:42 Pacific Std Daylight Time;
Querying the DC1 configuration objects in config NC CN=Configuration, DC=CONTOSO, DC=COM by performing an LDAP search with subtree scope on the DN "CN=DC1, CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com":
ldap_search_s(ld, "CN=ALPHA10,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com", 2, "(objectClass=*)", attrList, 0, &msg)
Getting 5 entries:
>>Dn: CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com
1> cn: DC1;
1> distinguishedName: CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com;
1> dNSHostName: DC1.mohkhan-TEST10.nttest.microsoft.com;
1> dSCorePropagationData: 0x0 = ( );
1> instanceType: 0x4 = ( WRITE );
1> name: DC1;
1> objectCategory: CN=Server,CN=Schema,CN=Configuration,DC=contoso,DC=com;
2> objectClass: top; server;
1> objectGUID: 75568225-7ec6-4d83-a72d-82d19c0799c5;
1> serverReference: CN=DC1,OU=Domain Controllers,DC=contoso,DC=com;
1> showInAdvancedViewOnly: TRUE;
1> systemFlags: 0x52000000 = ( CONFIG_ALLOW_RENAME | CONFIG_ALLOW_LIMITED_MOVE | DISALLOW_MOVE_ON_DELETE );
1> uSNChanged: 7763;
1> uSNCreated: 7747;
1> whenChanged: 7/21/2011 2:51:29 PM Pacific Daylight Time;
1> whenCreated: 7/21/2011 2:18:57 PM Pacific Daylight Time;
>> Dn: CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com
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> dMDLocation: CN=Schema,CN=Configuration,DC=contoso,DC=com;
1> dSCorePropagationData: 0x0 = ( );
3> hasMasterNCs: CN=Schema,CN=Configuration,DC=contoso,DC=com; CN=Configuration,DC=contoso,DC=com; DC=contoso,DC=com;
1> instanceType: 0x4 = ( WRITE );
1> invocationId: 64ef4da2-e442-4d8b-98d9-933609051bec;
1> msDS-Behavior-Version: 5;
1> msDS-HasDomainNCs: DC=contoso,DC=com;
3> msDS-HasInstantiatedNCs: B:8:0000000D:CN=Schema,CN=Configuration,DC=contoso,DC=com; B:8:0000000D:CN=Configuration,DC=contoso,DC=com; B:8:00000005:DC=contoso,DC=com;
3> msDS-hasMasterNCs: N=Schema,CN=Configuration,DC=contoso,DC=com; CN=Configuration,DC=contoso,DC=com; DC=contoso,DC=com;
1> name: NTDS Settings;
1> objectCategory: CN=NTDS-DSA,CN=Schema,CN=Configuration,DC=contoso,DC=com;
3> objectClass: top; applicationSettings; nTDSDSA;
1> objectGUID: 64ef4da2-e442-4d8b-98d9-933609051bec;
1> options: 0x1 = ( IS_GC );
1> serverReferenceBL: CN=DC1,CN=Domain System Volume (SYSVOL share),CN=File Replication Service,CN=System,DC=contoso,DC=com;
1> showInAdvancedViewOnly: TRUE;
1> systemFlags: 0x2000000 = ( DISALLOW_MOVE_ON_DELETE );
1> uSNChanged: 7777;
1> uSNCreated: 7755;
1> whenChanged: 7/21/2011 2:51:29 PM Pacific Daylight Time;
1> whenCreated: 7/21/2011 2:18:57 PM Pacific Daylight Time;
>> Dn: CN=a00d8e30-9afb-47de-80e3-06f53ffd88bd,CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com
1> cn: a00d8e30-9afb-47de-80e3-06f53ffd88bd;
1> distinguishedName: CN=a00d8e30-9afb-47de-80e3-06f53ffd88bd,CN=NTDS Settings,CN=DC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com;
1> dSCorePropagationData: 0x0 = ( );
1> enabledConnection: TRUE;
1> fromServer: CN=NTDS Settings,CN=DC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=contoso,DC=com;
1> instanceType: 0x4 = ( WRITE );
3> mS-DS-ReplicatesNCReason: B:8:00000008:CN=Schema,CN=Configuration,DC=contoso,DC=com; B:8:00000008:DC=contoso,DC=com; B:8:00000008:CN=Configuration,DC=contoso,DC=com;
3> name: a00d8e30-9afb-47de-80e3-06f53ffd88bd;
1> objectCategory: CN=NTDS-Connection,CN=Schema,CN=Configuration,DC=contoso,DC=com;
3> objectClass: top; leaf; nTDSConnection;
1> objectGUID: 9a3269e9-8bae-4bc2-a201-865d1b4785c6;
1> options: 0x1 = ( IS_GENERATED );
1> schedule: Size: 188, Bandwidth: 0, NumberOfSchedules: 1, Schedules[0].Type: 0, Schedules[0].Offset: 20 1000.1000.1000.1000.... 0.1000.1000.1000.1000.1000.1000.1000.1000.1000. ;
1> showInAdvancedViewOnly: TRUE;
1> systemFlags: 0x60000000 = ( CONFIG_ALLOW_RENAME | CONFIG_ALLOW_MOVE );
1> uSNChanged: 41448;
1> uSNCreated: 12337;
1> whenChanged: 7/22/2011 3:25:14 PM Pacific Daylight Time;
1> whenCreated: 7/21/2011 2:54:55 PM Pacific Daylight Time;