Port 389 — LDAP (Lightweight Directory Access Protocol)
Hierarchical directory service protocol for looking up and authenticating users, computers, and permissions across an enterprise network.
⚡ Primary Use Cases & Environments
- ✓Microsoft Active Directory
- ✓OpenLDAP user authentication
- ✓Single Sign-On (SSO) backend directory lookups
🛡️ Security & Vulnerability Analysis
Plaintext LDAP transmits passwords across the network. Use LDAPS (port 636) or enforce LDAP StartTLS.
🔧 Network Diagnostics & Inspection
🔥 Firewall Configuration Rules (UFW & iptables)
❓ Frequently Asked Questions (FAQ)
Should port 389 ever be accessible from the public internet?
Never. LDAP contains full user catalogs and credentials. It must be restricted to internal corporate subnets or accessible only through an authenticated VPN.