OpenLDAP

From Chorke Wiki
Revision as of 20:36, 27 February 2021 by Shahed (talk | contribs) (→‎Configure)
Jump to navigation Jump to search
apt update
apt list --upgradable
apt install slapd ldap-utils

Configure

ldapwhoami -H ldap:// -x
dpkg-reconfigure slapd
ls -lah /var/backups/
cat > /etc/ldap/ldap.conf <<'EOF'
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

BASE   dc=dev,dc=shahed,dc=biz
URI    ldap://localhost ldap://localhost:666

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never

# TLS certificates (needed for GnuTLS)
TLS_CACERT      /etc/ssl/certs/ca-certificates.crt
EOF

phpLDAPadmin

apt install phpldapadmin
a2enmod proxy_fcgi setenvif
a2enconf php7.3-fpm

References