Find-InterestingDomainAcl -Domain MACFARLANE.EXAMPLE.COM -Server 192.168.201.1 -Credential $creds -Verbose
VERBOSE: [Get-DomainSearcher] search base: LDAP://192.168.201.1/DC=MACFARLANE,DC=EXAMPLE,DC=COM
VERBOSE: [Get-DomainSearcher] Using alternate credentials for LDAP connection
VERBOSE: [Get-DomainObjectAcl] Get-DomainObjectAcl filter string: (objectClass=*)
VERBOSE: [Convert-ADName] Error initializing translation for 'S-1-5-21-194907926-3087329505-3194028638-1109' using alternate credentials : Exception calling "InvokeMembe
r" with "5" argument(s): "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"
VERBOSE: [Convert-ADName] Error translating 'S-1-5-21-194907926-3087329505-3194028638-1109' : The specified domain either does not exist or could not be contacted. (Exce
ption from HRESULT: 0x8007054B)
WARNING: [Find-InterestingDomainAcl] Unable to convert SID 'S-1-5-21-194907926-3087329505-3194028638-1109' to a distinguishedname with Convert-ADName
Although interestingly if I call Convert-ADName directly this works:
Although interestingly if I call Convert-ADName directly this works:
If I try with ResolveGUIDs I get