New Technology Sector Research Reveals Rising Cyber Threats, Dark Web Attacks, and AI Risks. Learn More

New Technology Sector Research Reveals Rising Cyber Threats, Dark Web Attacks, and AI Risks. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Microsoft Security
Unlock the full power of Microsoft Security
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: Verifying LDAP port connectivity

Expand / Collapse


This article applies to:

  • SNAC (All Versions)

Question:

  • How can I confirm if a LDAP server is accessible on NAC?

Procedure:

LDAP authentication will only work if the LDAP server connection is configured properly and the server is available.

Here is a basic test that can be performed to diagnose LDAP authentication issues.

  1. Navigate to: Configuration > Authorization > LDAP
  2. The entries required to confirm port connectivity are in the first 2 fields.
    • LDAP Server: The FQDN of your LDAP server
    • LDAP Port: The port you are using to connect to LDAP. This is usually 389 (for the standard LDAP protocol) or 636 (for LDAP secure which also requires a certificate)
  3. Use netcat to test connectivity:

    These examples attempt a connection, with verbose output and a timeout. You should get a response quickly. If the command exits with no response then the connection did not succeed.

    For more detailed information about netcat, see the man page.

    Testing port 636 (LDAPS) with a timeout of 60 seconds.

    nc <ldapserverip> 636 -v -w 60

    Testing port 389 (LDAP) with a timeout of 60 seconds.
    nc <ldapserverip> 389 -v -w 60

  4. On older NAC appliances you can use telnet to test connectivity to this server and port. The syntax to test is:

    telnet <ldap-server-fqdn> <ldap-port>

    Example:

    telnet mynameisldap.server.com 389

    The example is a test to the server mynameisldap.server.com over port 389 which is the default LDAP port.

    A successful connection will show you a blank screen which indicates that you have communicated successfully over that port.

    If the output stalls on connecting To <ldap-server-fqdn> 389 then there is a networking, firewall, or configuration issue that must be addressed before the NAC can connect.  

To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.