| | 1 | | namespace SharpHoundCommonLib.LDAPQueries |
| | 2 | | { |
| | 3 | | public static class CommonPaths |
| | 4 | | { |
| | 5 | | public const string QueryPolicyPath = |
| | 6 | | "CN=Default Query Policy,CN=Query-Policies,CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration"; |
| | 7 | |
|
| | 8 | | public const string DirectoryServicePath = |
| | 9 | | "CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration"; |
| | 10 | |
|
| | 11 | | public const string ConfigurationPath = "CN=Configuration"; |
| | 12 | |
|
| | 13 | | public static string CreateDNPath(string prePath, string baseDomainDN) |
| 0 | 14 | | { |
| 0 | 15 | | return $"{prePath},{baseDomainDN}"; |
| 0 | 16 | | } |
| | 17 | | } |
| | 18 | | } |
| | 19 | |
|