Ldap Web Management

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

PHPLDAPadmin

Installation

apt-get install phpldapadmin

vi /etc/phpldapadmin/config.php und folgende Werte anpassen:

$servers->setValue('server','host','127.0.0.1');
$servers->setValue('server','base',array('dc=example,dc=com'));
$servers->setValue('login','bind_id','cn=admin,dc=example,dc=com');
$config->custom->appearance['hide_template_warning'] = true;

Absicherung: Apache Authentifizierung

apt-get install apache2-utils
htpasswd -c /etc/apache2/htpasswd ldapadmin

Absicherung: ssl

ssl Verzeichnis erstellen, Schluessel und Zertifikat erstellen

mkdir /etc/apache2/ssl
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt


Access