Challenges in Accessing and Configuring LDAP in MeshCentral #6415
LeonardoIdalgo
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been struggling to configure LDAP in MeshCentral, despite successfully testing the same credentials using LDAP Soft and PowerShell. With PowerShell, I was able to establish a connection, verify that LDAP is active, and even perform queries, such as:
powershell
#Creating a directory object
$ldapConnection.SearchRoot = [ADSI]"LDAP://$ ($ldapServer):$ ($ldapPort)"
$ldapConnection = New-Object System.DirectoryServices.DirectorySearcher
$ldapConnection.Filter = "(cn=$groupName)" # Filter to search for the group
Defining the scope and properties to load
$ldapConnection.SearchScope = [System.DirectoryServices.SearchScope]::Subtree
$ldapConnection.PropertiesToLoad.Add("cn")
Using PowerShell, I was able to establish a connection to check if LDAP is active and successfully perform queries as well.
However, when I try to input the same LDAP information into MeshCentral, it fails to connect. This issue is becoming quite frustrating, especially since I can successfully query LDAP outside of MeshCentral but can't establish a connection within the platform itself.
`
`
C:\meshcentral\node_modules>node meshcentral --debug ldap,authlog MeshCentral HTTP redirection server running on port 80. AUTHLOG: Server listening on 0.0.0.0 port 80. MeshCentral v1.1.31, Hybrid (LAN + WAN) mode. MeshCentral Intel(R) AMT server running on xxxxxx. AUTHLOG: Server listening on 0.0.0.0 port xxxx. MeshCentral HTTPS server running on xxxxxxxxx:443. AUTHLOG: Failed password for leonardo.idxxlgo from xxxxxxx port 26280, Browser: Edge/129.0.0.0, OS: Windows/10 AUTHLOG: Failed password for MxxxxxxxI\leonardo.idxxlgo from 19x.xxx.xxx.xx port 2xx26, Browser: Edge/129.0.0.0, OS: Windows/10 AUTHLOG: Failed password for [email protected] from 19xxxxxxx port 2xx49, Browser: Edge/129.0.0.0, OS: Windows/10
Beta Was this translation helpful? Give feedback.
All reactions