Skip to content

LDAP Server unavailable #62

@ParadoX-SobriuS

Description

@ParadoX-SobriuS

I have a client from where I run v8.6 and utilize the custom configuration to connect to the ADDS machine(s). My client is a cloud based (not ad-joined).
When using v8.6 GUI/CLI i get an error:

.\ADACLScan.ps1 -Base "dc=domain,dc=dummy,dc=com" -ShowCriticalityColor -Scope subtree -Output HTML -Server domain.dummy.com

MethodInvocationException: C:\Temp\Personal PowerShell\ADACLScan\v8.6\ADACLScan.ps1:4193
Line |
4193 |      $response = $LDAPConnection.SendRequest($request)
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "SendRequest" with "1" argument(s): "The LDAP server is unavailable."
InvalidOperation: C:\Temp\Personal PowerShell\ADACLScan\v8.6\ADACLScan.ps1:4194
Line |
4194 |      $Object = $response.Entries[0]
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot index into a null array.
MethodInvocationException: C:\Temp\Personal PowerShell\ADACLScan\v8.6\ADACLScan.ps1:4193
Line |
4193 |      $response = $LDAPConnection.SendRequest($request)
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "SendRequest" with "1" argument(s): "The LDAP server is unavailable."
InvalidOperation: C:\Temp\Personal PowerShell\ADACLScan\v8.6\ADACLScan.ps1:4194
Line |
4194 |      $Object = $response.Entries[0]
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot index into a null array.

Exception Message...: Exception calling "GetForest" with "1" argument(s): "The specified forest does not exist or cannot be contacted. domain.dummy.com"

In version 8.5 the error does not exist.

Edited out actual domain information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions