Polarity v4 Admin Guide
Polarity v5 Admin Guide
  • Sever Requirements
    • Deployment Methods
      • Deploying Polarity Server on AWS with RDS and Elasticache
      • Deploying Polarity Server Virtual Machine on Azure
      • Deploying via OVA
      • Deploying via RPM
      • Polarity Server BYOL AMI
  • Guides
    • Installing License
    • Authentication
      • SAML
        • Azure ADFS
        • Okta
        • SAML Troublshooting
      • LDAP Troubleshooting
    • Installing Private Certificate Authority
    • Installing SSL Certificate
      • Installing LetsEncrypt SSL Certificate on Polarity Server
    • Configuring a Proxy
    • Migrating Polarity Servers
      • Upgrade PostgreSQL to v13
    • Enabling SMTP
    • Server Environment Variables
    • File System Layout
    • Configuring a FQDN
    • Enabling Source Analytics
      • Elasticsearch
        • Configuring Source Analytics on Elasticsearch
        • Source Analytics Integration with Elasticsearch
    • v5 Server Pre-Flight Upgrade Check
  • Integrations
    • Auto Subscribe CLI Tool
    • Installation
    • Install Multiple Copies of an Integration
    • Modifying Integration Name & Acronym
    • Add Custom Entity Types
Powered by GitBook
On this page
  1. Guides
  2. Authentication

LDAP Troubleshooting

You can configure LDAP authentication and authorization for the Polarity Server. The LDAP authentication scheme supports both authentication and authorization. When a new user connects to the Polarity Server for the first time, a new local account will be created for the user.

Troubleshooting LDAP

You can enable LDAP debug logging by adding a property to the server's .env file. Open the .env file which can be found at /app/polarity-server/.env and add the POLARITY_ENABLE_LDAP_CLIENT_DEBUG_LOGGING environment variable.

/app/polarity-server/.env
POLARITY_ENABLE_LDAP_CLIENT_DEBUG_LOGGING=true

After saving the .env file restart the Polarity server service.

systemctl restart polarityd

Attempt to login to Polarity via your browser using your LDAP credentials. On the server, you will see a new logging file called ldap_debug.log located at /app/polarity-server/logs/ldap_debug.log.

You can use this logging file to help troubleshoot LDAP authentication issues.

PreviousSAML TroublshootingNextInstalling Private Certificate Authority

Last updated 2 years ago