Skip to content

Instantly share code, notes, and snippets.

View wrecklesswun's full-sized avatar

Randall Okwei wrecklesswun

View GitHub Profile
@FriedrichWeinmann
FriedrichWeinmann / DomainCryptographyScan.ps1
Last active October 24, 2024 16:27
Scans an Active Directory domain's and its principal's kerberos encryption configuration.
<#
.SYNOPSIS
Scans an Active Directory domain's and its principal's kerberos encryption configuration.
.DESCRIPTION
Scans an Active Directory domain's and its principal's kerberos encryption configuration.
It will generate all data via LDAP, and analyze the results for possible authentication issues.
It supports three ways to report:
- Print: Write analysis of results to screen
@ashafer01
ashafer01 / ad_sudo_schema.ldif
Created February 9, 2019 00:09
Active Directory Schema for sudo ldap - tested working with AWS Directory Service - replace DC=EXAMPLE,DC=COM with your domain
dn: CN=SudoUser,CN=Schema,CN=Configuration,DC=EXAMPLE,DC=COM
changetype: add
objectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=EXAMPLE,DC=COM
objectClass: attributeSchema
objectClass: top
cn: SudoUser
attributeID: 1.3.6.1.4.1.15953.9.1.1
attributeSyntax: 2.5.5.12
isSingleValued: FALSE
lDAPDisplayName: sudoUser