[Bug] PowerView Get-DomainSID -Domain other: Exception calling "FindOne" with "0" argument(s): "An operations error occurred.
- Dominant language
- C#
- Stars
- 4.7k
- Forks
- 822
- PR merge metrics
- No merged PRs in 30d
Description
using this:
https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1
```
powershellimport
powershell get-domainsid
S-1-5-21... # works
powershell get-domainsid -Domain anotherDomain
Exception calling "FindOne" with "0" argument(s): "An operations error occurred.
"
```
locally it works:
```
import-module .\powerview.ps1
get-domainsid -Domain "anotherDomain"
S-1-5-21... #works
```
dev branch in docker on kali vs Microsoft Windows Server 2012 R2 Standard
Edit:
maybe relevant:
locally
```
get-addomain otherDomain
... # works
```
in covenant
```
powershell get-addomain otherDomain
Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running.
```
The covenant session was initiated via:
```
WMIGrunt /computername:"dc" /launcher:"..." /username:"administrator" /password:"..."
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.