PortGate

Resources · Port reference · port 389

Port 389 (LDAP): what it is and how to secure it

LDAP without TLS exposes directory binds.

Check command

ss -tulpn | grep 389

Copied.

Prefer LDAPS on 636 to a directory you meant to publish. An accidental slapd on 0.0.0.0 is a credential store.

ss -tulpn | grep 389

A 0.0.0.0 or :: address is a public listener. 127.0.0.1 is local.