projects.samba.org

Sun, 28 Aug 2005

------------------- BACKGROUND INFO BEGIN -------------------

Rather than become overwhelmed with the tidal wave of information we are getting back from DSGetNCChanges(), I decided to take it one bit at a time.
These notes reference the smbtorture output found here by line number.

What i'm hoping to do here is breakdown as many of the unknown attributes as I can.
I'm starting with the root of dc=smb,dc=test (my domain name). I'm going to try and line up unknown values in my output file with what ldp.exe tells us on the domain controller.
The dc is my pdc(2k3 enterprise edition), and it is running as a mixed-mode domain (freshly loaded snapshot 8).

The first object in the list starts at line 571.

I got these results by running 'bin/smbtorture -W smbtest -U administrator%sn4ppl3sux ncacn_ip_tcp:pdc.smb.test[seal,print] RPC-DSSYNC | less -N' of revision 9723 of my branch.

------- BACKGROUND INFO END -------
------- INTERESTING INFO BEGIN -------

This is the end of the first object.

What did we match that we didn't know before?
DRSUAPI_OBJECTCLASS_domain (0xA0042)
DRSUAPI_OBJECTCLASS_domainDNS (0xA0043)
wellKnownObjects (0x9026A)
fSMORoleOwner (0x90171)
name or dc (0x90001)
whenCreated (0x20002)
instanceType (0x20001)
gPLink (0x9037B)

(I added all of these to source/librpc/idl/drsuapi.idl, except for 0x90001 - yet)

What was returned by ldb that we didn't match?
distinguishedName:
whenChanged:
subRefs:
uSNCreated:
repsFrom:
uSNChanged:
objectGUID:
replUpToDateVector:
creationTime:
forceLogoff:
lockoutDuration:
lockOutObservationWindow:
lockoutThreshold:
maxPwdAge:
minPwdAge:
minPwdLength:
modifiedCountAtLastProm:
nextRid:
pwdProperties:
pwdHistoryLength:
serverState:
uASCompat:
modifiedCount:
auditingPolicy:
nTMixedDomain:
rIDManagerReference:
isCriticalSystemObject:
masteredBy:
ms-DS-MachineAccountQuota:
msDS-PerUserTrustQuota:
msDS-AllUsersTrustQuota:
msDS-PerUserTrustTombstonesQuota:
msDs-masteredBy:
name: or dc:

There are more attributes for this object returned by ldp.exe that we aren't resolving, than there are UNKNOWN_ENUM_VALUE's returned by smbtorture.

That's enough for now though.

posted at: 19:01 | path: /samba4/dssync | permanent link to this entry