Outils pour utilisateurs

Outils du site


doc:formations:hebergement:service:ldap

Ceci est une ancienne révision du document !


[page en cours, broullion]

Ref: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-openldap-and-phpldapadmin-on-ubuntu-16-04

apt update && apt-upgrade -y

wget http://ftp.fr.debian.org/debian/pool/main/p/phpldapadmin/phpldapadmin_1.2.2-6.3_all.deb
dpkg -i phpldapadmin_1.2.2-6.3_all.deb 
# (answer questions here)

vi /etc/phpldapadmin/config.php
# $servers->setValue('server','base',array('dc=tecrd,dc=com'));
# ​$servers->setValue('login','bind_id','cn=admin,dc=tecrd,dc=com');

# Setup letsencrypt
apt install snapd
snap install core
snap refresh core

snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
certbot --apache
# (answer questions here)

[[ $(ldapwhoami -H ldap:// -x) = 'anonymous' ]] && echo 'ALL OK SO FAR'
doc/formations/hebergement/service/ldap.1632149455.txt.gz · Dernière modification : 2021/09/20 14:50 de jeremie