Unhandled exception
Opened this issue · 0 comments
sasqwatch commented
Hello,
TruffleSnout errors out when I use it in the following way:
TruffleSnout domain -n current -a
[*] Discover current domain
Domain Name: corp.company.com
Domain Forest: corp.company.com
Domain Mode: Windows2012R2Domain
Domain Parent: None
Domain PDC: xxx-xxxxxxxx.corp.company.com
Domain RID Master: xxxxx-xxxxxxx.corp.company.com
All DCs:
DomainController : xxx-xxxxxxx.corp.qualys.com, Windows Server 2012 R2 Standard, XX01, xx.xxx.xx.xxx
ERROR: The RPC server is unavailable.
Name: "xxx-xxxxx.corp.company.com"
ERROR: The RPC server is unavailable.
Name: "xxx-xxxxxxx.corp.company.com"
DomainController : xxx-xxxxxxx.corp.company.com, Windows Server 2012 R2 Standard, XX01, xx.xxx.xx.xxx
DomainController : xxx-xxxxxxx.corp.company.com, Windows Server 2012 R2 Standard, XX01, xx.xxx.xx.xxx
ERROR: The RPC server is unavailable.
Unhandled Exception: System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException: The RPC server is unavailable.
Name: "xxxx-xxxxxxxx.corp.company.com"
at System.DirectoryServices.ActiveDirectory.Utils.GetDSHandle(String domainControllerName, String domainName, IntPtr authIdentity, LoadLibrarySafeHandle libHandle)
at System.DirectoryServices.ActiveDirectory.DomainController.GetDSHandle()
at System.DirectoryServices.ActiveDirectory.DomainController.GetDomainControllerInfo()
at System.DirectoryServices.ActiveDirectory.DomainController.get_ServerObjectName()
at System.DirectoryServices.ActiveDirectory.DirectoryServer.GetInboundConnectionsHelper()
at System.DirectoryServices.ActiveDirectory.DomainController.get_InboundConnections()
at TruffleSnout.BBDomain.DiscoverDomain()
at TruffleSnout.DomainCtl.Run(DomainOptions opts)
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
at TruffleSnout.Program.Main(String[] args)