Objects: Difference between revisions
Jump to navigation
Jump to search
No edit summary (change visibility) |
No edit summary (change visibility) |
||
Line 23: | Line 23: | ||
some active directory known values: [[ADS GUIDS]] | |||
Latest revision as of 14:51, 29 December 2014
Some Well Known Objects in Active Directory http://mendelonline.be/wiki/index.php/LDAP
Type | SID |
---|---|
Group | bf967a9c-0de6-11d0-a285-00aa003049e2 |
User | bf967aba-0de6-11d0-a285-00aa003049e2 |
Example | Example |
Example | Example |
Example | Example |
http://technet.microsoft.com/en-us/library/cc755430%28v=ws.10%29.aspx
some active directory known values: ADS GUIDS
#Create a hashtable to store the GUID value of each schema class and attribute
$guidmap = @{}
Get-ADObject -SearchBase ($rootdse.SchemaNamingContext) -LDAPFilter `
"(schemaidguid=*)" -Properties lDAPDisplayName,schemaIDGUID |
% {$guidmap[$_.lDAPDisplayName]=[System.GUID]$_.schemaIDGUID}
#Create a hashtable to store the GUID value of each extended right in the forest
$extendedrightsmap = @{}
Get-ADObject -SearchBase ($rootdse.ConfigurationNamingContext) -LDAPFilter `
"(&(objectclass=controlAccessRight)(rightsguid=*))" -Properties displayName,rightsGuid |
% {$extendedrightsmap[$_.displayName]=[System.GUID]$_.rightsGuid}