Active Directory Objects Attributes

Listing all attributes of a computer object:

C:>AdFind.exe -default -f name=”Test-PC1″ | cut -f2 -d”>” | cut -f1 -d”:” | uniq | sort

AdFind V01.42.00cpp Joe Richards ([email protected]) April 2010

1 Objects returned
accountExpires
badPasswordTime
badPwdCount
cn
codePage
countryCode
dNSHostName
dSCorePropagationData
distinguishedName
dn
instanceType
isCriticalSystemObject
lastLogoff
lastLogon
lastLogonTimestamp
localPolicyFlags
logonCount
msDS-SupportedEncryptionTypes
name
objectCategory
objectClass
objectGUID
objectSid
operatingSystem
operatingSystemVersion
primaryGroupID
pwdLastSet
sAMAccountName
sAMAccountType
servicePrincipalName
uSNChanged
uSNCreated
userAccountControl
whenChanged
whenCreated

C:>

Listing all attributes of a user object:

C:>adfind -default -f “(&(objectcategory=user)(name=*test-user1))” | cut -f2 -d”>” | cut -f1 -d”:” | uniq | sort

AdFind V01.42.00cpp Joe Richards ([email protected]) April 2010

1 Objects returned
accountExpires
badPasswordTime
badPwdCount
cn
codePage
countryCode
dSCorePropagationData
description
displayName
distinguishedName
dn
givenName
homeMDB
homeMTA
instanceType
lastLogoff
lastLogon
lastLogonTimestamp
legacyExchangeDN
logonCount
mDBUseDefaults
mail
mailNickname
memberOf
msExchHomeServerName
msExchMailboxGuid
msExchMailboxSecurityDescriptor
msExchPoliciesIncluded
msExchRecipientDisplayType
msExchRecipientTypeDetails
msExchUserAccountControl
msExchUserCulture
msExchVersion
name
objectCategory
objectClass
objectGUID
objectSid
primaryGroupID
proxyAddresses
pwdLastSet
sAMAccountName
sAMAccountType
showInAddressBook
sn
telephoneNumber
textEncodedORAddress
uSNChanged
uSNCreated
userAccountControl
userPrincipalName
whenChanged
whenCreated

C:>

Listing all attributes of an Organizational Unit (OU) object:

C:>AdFind.exe -default -f “(&(objectcategory=OrganizationalUnit)(name=runaware))” | cut -f2 -d”>” | cut -f 1 -d”:” | uniq | sort

AdFind V01.42.00cpp Joe Richards ([email protected]) April 2010

1 Objects returned

dSCorePropagationData
distinguishedName
dn
instanceType
name
objectCategory
objectClass
objectGUID
ou
uSNChanged
uSNCreated
whenChanged
whenCreated

C:>

Leave a Reply

Your email address will not be published. Required fields are marked *